Difference between revisions of "Ped Event"
Jump to navigation
Jump to search
Line 206: | Line 206: | ||
[[074F]] - Checks if an event is happening on the actor<br> | [[074F]] - Checks if an event is happening on the actor<br> | ||
[[080E]] - Gets the actor's current event | [[080E]] - Gets the actor's current event | ||
+ | ==External Link== | ||
+ | *[http://www.gtaforums.com/index.php?showtopic=179930 Ped Events] GTAForums topic | ||
[[Category:GTA SA]][[Category:Mission Script]] | [[Category:GTA SA]][[Category:Mission Script]] |
Revision as of 19:30, 10 July 2008
Ped event is an event that is happening on a ped or a vehicle the ped is in. Some of the events with descriptions are listed in the data\Decision\PedEvent.txt
file.
List of Ped Events
ID | Works for player? | Description |
---|---|---|
0 | Yes | No specific event taking place |
4 | Yes | Brushed/touched by ped? |
7 | Yes | EVENT_DRAGGED_OUT_CAR, being dragged out of a vehicle by someone |
8 | Yes | EVENT_KNOCK_OFF_BIKE, fallen or knocked off a bike |
9 | Yes | EVENT_DAMAGE, received damage in any way |
10 | Yes | ? |
11 | Yes | EVENT_DEAD_PED, a ped just died |
12 | Yes | EVENT_POTENTIAL_GET_RUN_OVER, potential to get or is being run over by a vehicle |
13 | Yes | EVENT_POTENTIAL_WALK_INTO_PED, potential to walk into a ped while attempting to enter a vehicle |
15 | No? | EVENT_SHOT_FIRED |
17 | No? | EVENT_PED_ENTERED_MY_VEHICLE |
20 | Yes | EVENT_SEXY_PED, sees sexy ped, one of the most common event |
27 | No? | EVENT_ATTRACTOR |
30 | No? | EVENT_VEHICLE_THREAT |
31 | No | EVENT_GUN_AIMED_AT, being aimed by CJ |
33 | Yes | Landing any jump on foot |
36 | No? | EVENT_ACQUAINTANCE_PED_HATE |
37 | No? | EVENT_ACQUAINTANCE_PED_DISLIKE |
38 | No? | EVENT_ACQUAINTANCE_PED_LIKE |
39 | No? | EVENT_ACQUAINTANCE_PED_RESPECT |
41 | Yes | EVENT_VEHICLE_DAMAGE_WEAPON, the ped's vehicle is hit by a weapon |
42 | No? | EVENT_SPECIAL |
43 | No? | EVENT_GOT_KNOCKED_OVER_BY_CAR |
44 | Yes? | EVENT_POTENTIAL_WALK_INTO_OBJECT, as in event 13 |
46 | Yes? | EVENT_POTENTIAL_WALK_INTO_FIRE, as in event 13 |
48 | No? | EVENT_SCRIPTED_ATTRACTOR |
49 | No? | EVENT_SHOT_FIRED_WHIZZED_BY |
50 | No | EVENT_LOW_ANGER_AT_PLAYER |
51 | No | EVENT_HIGH_ANGER_AT_PLAYER |
52 | Yes | EVENT_HEALTH_REALLY_LOW, health really low |
53 | Yes | EVENT_HEALTH_LOW, health low |
54 | No? | EVENT_LEADER_ENTERED_CAR_AS_DRIVER |
55 | No? | EVENT_LEADER_EXITED_CAR_AS_DRIVER |
56 | Yes | EVENT_POTENTIAL_WALK_INTO_VEHICLE, potential to walk into a vehicle while attempting to enter a vehicle |
58 | Yes | Stupidly walk into fire, didn't test other ped |
59 | Yes | EVENT_FIRE_NEARBY, any fire is nearby about 20 meters |
61 | No? | EVENT_SOUND_LOUD |
62 | No? | EVENT_SOUND_QUIET |
63 | No? | EVENT_ACQUAINTANCE_PED_HATE_BADLY_LIT |
64 | Yes | Waterhosed |
65 | No? | EVENT_SEEN_PANICKED_PED |
66 | Yes | Begin swimming |
71 | ? | EVENT_PLAYER_COMMAND_TO_GROUP |
72 | Yes | EVENT_SEEN_COP, is seen by cop, one of the most common event |
73 | Yes | EVENT_VEHICLE_DAMAGE_COLLISION, vehicle damaged by other ped, has to be more than minor damage |
75 | Yes | EVENT_DANGER |
76 | ? | EVENT_PLAYER_COMMAND_TO_GROUP_GATHER |
79 | ? | EVENT_VEHICLE_ON_FIRE |
93 | Yes | Caught in collision nightmare, only way to move is to jump |
Mission Script
You can use the following opcodes to do stuff to events.
074F - Checks if an event is happening on the actor
080E - Gets the actor's current event
External Link
- Ped Events GTAForums topic