0245

From GTAMods Wiki
Jump to navigation Jump to search

GTA III Vice City San Andreas SET_ANIM_GROUP_FOR_CHAR


Description
Sets the animation group for the character
Syntax
GTA III Vice City 0245: set_actor [char handle] walk_style_to [int]
San Andreas 0245: set_actor [char handle] walk_style_to "[string]"
Parameter
[char handle]
The handle of the character
[int]
Animation group (see below)
[string]
Animation group

This opcode sets the animation group for the character, notably changing the way the character walks. The character's initial animation group is defined in the PEDS section of the IDE file. Many values are invalid and can crash the game. Setting an animation group for the player produces no effect..

GTA III

Anim
group
Enum
9 ANIM_GANG2_PED
15 ANIM_SEXY_WOMANPED
18 ANIM_PANIC_CHUNKYPED

Vice City

Anim
group
Enum
0 ANIM_STD_PED
30 ANIM_PLAYER_PED
31 ANIM_PLAYER_ROCKET_PED
32 ANIM_PLAYER_1ARMED_PED
33 ANIM_PLAYER_2ARMED_PED
34 ANIM_PLAYER_BBBAT_PED
35 ANIM_PLAYER_CHAINSAW_PED
36 ANIM_SHUFFLE_PED
37 ANIM_OLD_PED
38 ANIM_GANG1_PED
39 ANIM_GANG2_PED
40 ANIM_FAT_PED
41 ANIM_OLDFAT_PED
42 ANIM_JOGGER_PED
43 ANIM_STD_WOMANPED
44 ANIM_SHOPPING_WOMANPED
45 ANIM_BUSY_WOMANPED
46 ANIM_SEXY_WOMANPED
47 ANIM_FAT_WOMANPED
48 ANIM_OLD_WOMANPED
49 ANIM_JOGGER_WOMANPED
50 ANIM_PANIC_CHUNKYPED

Keywords

set, character, actor, anim, animation, group, walk, style