IsPlayerActionActive

From GECK

Revision as of 18:26, 12 December 2008 by Quetzilla (Talk | contribs)

Description

IsPlayerActionActive tests to see if an action is currently being done by the player. Not called on a reference and the parameter is what action you are testing.

Syntax

IsPlayerActionActive ActionIndex

Examples

IsPlayerActionActive 8

Tests to see if the player is currently standing on a table or chair.

Notes

  • Multiple actions being performed at the same time will return true for each of the actions.
  • Actions stay in based on either a timer or “stopping” the action. Shooting the gun stays in for about 2 mins of game time after words but Z keying and standing on furniture returns false as soon as you stop doing them.

See Also

ActionIndex

Reference

None provided.

Personal tools