04E3

From GTAMods Wiki
Revision as of 06:25, 29 January 2016 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Vice City San Andreas SET_PLAYER_MOOD


Description
Sets the mood of the player character
Syntax
04E3: set_player [player handle] mood [int1] duration [int2]
Parameter
[player handle]
The handle of the player
[int1]
Mood (see below)
[int2]
Duration in milliseconds

This opcode sets the mood of the player for the duration of time. The character will utter phrases that pertain to that mood.

Mood Enum
0 PLAYER_MOOD_CALM
1 PLAYER_MOOD_PISSED_OFF
2 PLAYER_MOOD_ANGRY
3 PLAYER_MOOD_WISECRACKING
4 MAX_PLAYER_MOODS

Keywords

set, player, character, mood