Difference between revisions of "GetLastPlayerAction"

Jump to navigation Jump to search
164 bytes removed ,  20:49, 13 May 2009
Updated to function template
imported>Quetzilla
imported>Cipscis
(Updated to function template)
Line 1: Line 1:
=='''Description'''==
{{Function
 
|origin = GECK1
'''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.
|summary = Returns the index of the last action performed by the player.
 
|returnType = int
=='''Syntax'''==
  |example = GetLastPlayerAction
  GetLastPlayerAction  
Returns the index of the last action performed by the player
}}
{{:ActionIndex}}
{{:ActionIndex}}


=='''Examples'''==
==See Also==
if GetLastPlayerAction == 2
*[[IsPlayerActionActive]]
Condition is true if last action performed by player was throwing a grenade.
 
=='''See Also'''==
[[IsPlayerActionActive]]


[[Category:Functions]]
[[Category:Functions]]
[[Category:Animation Functions]]
[[Category:Animation Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
Anonymous user

Navigation menu