GetLastPlayerAction

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Returns the index of the last action performed by the player.

Syntax

[help]
(int) GetLastPlayerAction

Example

GetLastPlayerAction

Returns the index of the last action performed by the player

Action Indices

Index Action
1 PLAYER_ACTION_SWING_MELEE_WEAPON
2 PLAYER_ACTION_THROW_GRANADE
3 PLAYER_ACTION_FIRE_WEAPON
4 PLAYER_ACTION_LAY_MINE
5 PLAYER_ACTION_Z_KEY_OBJECT
6 PLAYER_ACTION_JUMPING
7 PLAYER_ACTION_KNOCKING_OVER_OBJECTS
8 PLAYER_ACTION_STAND_ON_TABLE_CHAIR
9 PLAYER_ACTION_IRON_SIGHTS
10 PLAYER_ACTION_DESTROY_OBJECT


See Also