0243
- Description
- Sets the ped stat of the character
- Syntax
- 0243: set_actor [char handle] ped_stats_to [int]
- Parameter
- [char handle]
- The handle of the character
- [int]
- Ped stat (see below)
This opcode sets the ped stat of the character. The ped stat value corresponds to the line number (starting with 0) in the pedstats.dat
file. The original scripts of GTA III and Vice City primarily used "tough guy" and "geek guy" throughout them.
Ped stats
Ped stat | Games | Enum[1] |
---|---|---|
0 | PEDSTAT_PLAYER | |
1 | PEDSTAT_COP | |
2 | PEDSTAT_MEDIC | |
3 | PEDSTAT_FIRE | |
4 | PEDSTAT_GANG1 | |
5 | PEDSTAT_GANG2 | |
6 | PEDSTAT_GANG3 | |
7 | PEDSTAT_GANG4 | |
8 | PEDSTAT_GANG5 | |
9 | PEDSTAT_GANG6 | |
10 | PEDSTAT_GANG7 | |
11 | PEDSTAT_STREET_GUY | |
12 | PEDSTAT_SUIT_GUY | |
13 | PEDSTAT_SENSIBLE_GUY | |
14 | PEDSTAT_GEEK_GUY | |
15 | PEDSTAT_OLD_GUY | |
16 | PEDSTAT_TOUGH_GUY | |
17 | PEDSTAT_STREET_GIRL | |
18 | PEDSTAT_SUIT_GIRL | |
19 | PEDSTAT_SENSIBLE_GIRL | |
20 | PEDSTAT_GEEK_GIRL | |
21 | PEDSTAT_OLD_GIRL | |
22 | PEDSTAT_TOUGH_GIRL | |
23 | PEDSTAT_TRAMP_MALE | |
24 | PEDSTAT_TRAMP_FEMALE | |
25 | PEDSTAT_TOURIST | |
26 | PEDSTAT_PROSTITUTE | |
27 | PEDSTAT_CRIMINAL | |
28 | PEDSTAT_BUSKER | |
29 | PEDSTAT_TAXIDRIVER | |
30 | PEDSTAT_PSYCHO | |
31 | PEDSTAT_STEWARD | |
32 | PEDSTAT_SPORTSFAN | |
33 | PEDSTAT_SHOPPER | |
34 | PEDSTAT_OLDSHOPPER | |
35 | PEDSTAT_BEACH_GUY | |
36 | PEDSTAT_BEACH_GIRL | |
37 | PEDSTAT_SKATER | |
38 | PEDSTAT_STD_MISSION | |
39 | PEDSTAT_COWARD |
- ^ Enums for GTA III are inferred from Vice City's enums.
Keywords
set, actor, character, ped, stat, stats, pedstats, personality