Difference between revisions of "04E3"
Jump to navigation
Jump to search
(Created page with '{{OpCode | ini = 04E3=3,%1d% %2h% %3d% | description = sets the mood of the player character | p1 = player handle | p2 = flag (0 default, 1 normal, 2 an…') |
|||
Line 1: | Line 1: | ||
{{OpCode | {{OpCode | ||
− | | | + | | games = {{Icon|VC}} {{Icon|SA}} |
− | | description = | + | | command = SET_PLAYER_MOOD |
− | | | + | | description = Sets the mood of the player character |
− | | | + | | syntax1 = 04E3: set_player [''player handle''] mood [''int1''] duration [''int2''] |
− | | | + | | p1t = [''player handle''] |
− | | | + | | p1d = The [[0053|handle of the player]] |
+ | | p2t = [''int1''] | ||
+ | | p2d = Mood (see below) | ||
+ | | p3t = [''int2''] | ||
+ | | p3d = 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. | This opcode sets the mood of the player for the duration of time. The character will utter phrases that pertain to that mood. | ||
− | ==Keywords== | + | {| class="wikitable center-col-1" |
− | set, | + | ! Mood || [[SCM language III/VC definitions#PLAYER_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 |
Latest revision as of 06:25, 29 January 2016
- 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