IsPlayerActionActive
Revision as of 14:55, 26 November 2008 by imported>Kkuhlmann
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
Reference
None provided.