Difference between revisions of "Ped Event"
Jump to navigation
Jump to search
m (→Mission Script) |
(→List of Ped Events) |
||
Line 28: | Line 28: | ||
| 10 | | 10 | ||
| Yes | | Yes | ||
− | | | + | | EVENT_DEATH |
|- | |- | ||
| 11 | | 11 | ||
Line 65: | Line 65: | ||
| No | | No | ||
| EVENT_GUN_AIMED_AT, being aimed by CJ | | EVENT_GUN_AIMED_AT, being aimed by CJ | ||
+ | |- | ||
+ | | 32 | ||
+ | | No | ||
+ | | EVENT_SCRIPT_COMMAND, never generated as being ignored by the game engine | ||
|- | |- | ||
| 33 | | 33 | ||
| Yes | | Yes | ||
− | | Landing any jump on foot | + | | EVENT_IN_AIR, Landing any jump on foot |
|- | |- | ||
| 36 | | 36 | ||
Line 202: | Line 206: | ||
| Caught in collision nightmare, only way to move is to jump | | Caught in collision nightmare, only way to move is to jump | ||
|} | |} | ||
+ | |||
==Mission Script== | ==Mission Script== | ||
You can use the following opcodes to do stuff to events.<br> | You can use the following opcodes to do stuff to events.<br> |
Revision as of 06:12, 11 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 | EVENT_DEATH |
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 |
32 | No | EVENT_SCRIPT_COMMAND, never generated as being ignored by the game engine |
33 | Yes | EVENT_IN_AIR, 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 // this seems to be not working
080E - Gets the actor's current event
External Link
- Ped Events GTAForums topic