CheckWeapon

From Eternity Wiki
Jump to navigationJump to search

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.

See also[edit]