GetLastPlayerAction

From GECK

Revision as of 14:13, 26 November 2008 by Kkuhlmann (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

GetLastPlayerAction gets the last Action the player performed. Not called on a reference and no parameters. In a condition you can test the return values against the action number.

Syntax

GetLastPlayerAction 

Examples

if GetLastPlayerAction == 2

Condition is true if last action performed by player was throwing a grenade.

Notes

  • See ActionIndex for current List of player actions and what value they equate to.


See Also

IsPlayerActionActive

Reference

None provided.

Personal tools