GetWeapon

From Eternity Wiki
Revision as of 14:42, 3 May 2026 by Printz (talk | contribs) (Created page with "{{ACSFunction|description=Returns the name of the weapon wielded by the player activator. |usage=''str'' '''GetWeapon'''() |return=Returns the name (as defined in EDF) of the weapon used by player. |notes=This function has no TID support, so it can only be used by a player activator. |id=-69}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]