Difference between revisions of "IsPlayerActionActive"

From GECK

 
m
Line 25: Line 25:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Condition Functions]]
 
[[Category:Condition Functions]]
 +
[[Category:Godsend Functions]]

Revision as of 19:26, 12 December 2008

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