CheckWeapon: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
(Created page with "{{ACSFunction|description=Checks if activator's current weapon matches name. |usage=int CheckWeapon(str weapon) |parameters=*weapon: the EDF name of the weapon |return=TRUE if...") |
(No difference)
|
Latest revision as of 15:21, 1 November 2021
Description[edit]
This is an ACS built-in function.
Checks if activator's current weapon matches name.
Usage[edit]
int CheckWeapon(str weapon)
Parameters[edit]
- weapon: the EDF name of the weapon
Return value[edit]
TRUE if activator's weapon matches weapon
Examples[edit]
No examples given.
Notes[edit]
This only works for a player activator
This function's identification in zspecial.acs
is: ACS internal.