GetWeapon

From Eternity Wiki
Jump to navigationJump to search

Description[edit]

This is an ACS built-in function.

Returns the name of the weapon wielded by the player activator.

Usage[edit]

str GetWeapon()

Parameters[edit]

No parameters.

Return value[edit]

Returns the name (as defined in EDF) of the weapon used by player.

Examples[edit]

No examples given.

Notes[edit]

This function has no TID support, so it can only be used by a player activator.

This function's identification in zspecial.acs is: -69.

See also[edit]