-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcommands_entity.lua
More file actions
46 lines (41 loc) · 1.18 KB
/
Copy pathcommands_entity.lua
File metadata and controls
46 lines (41 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---@class PED_TRANSPORT_MODE
PED_TRANSPORT_MODE = {
TM_ANY = 0, -- Any mode of transport bike, car plane, on foot etc
TM_ON_FOOT = 1, -- The ped is on foot
TM_IN_VEHICLE = 2, -- The ped is in a vehicle not on foot
}
---@class TRAFFICLIGHT_OVERRIDE_MODE
TRAFFICLIGHT_OVERRIDE_MODE = {
TLO_RED = 0,
TLO_AMBER = 1,
TLO_GREEN = 2,
TLO_NONE = 3,
}
---@class ENTITY_TYPE
ENTITY_TYPE = {
ET_NONE = 0,
ET_PED = 1,
ET_VEHICLE = 2,
ET_OBJECT = 3,
}
---@class ANIM_TYPE
ANIM_TYPE = {
ANIM_SCRIPT = 1, -- Include scripted animations (TASK_PLAY_ANIM, TASK_ACRIPTED_ANIMATION and PLAY_ENTITY_ANIM)
ANIM_SYNCED_SCENE = 2, -- Include synced scene animations (TASK_SYNCHRONIZED_SCENE and PLAY_SYNCHRONIZED_ENTITY_ANIM)
ANIM_CODE = 4, -- Include animations being played by code (NOT CURRENTLY SUPPORTED! - see an anim programmer if you need this)
ANIM_DEFAULT = 3, -- Includes scripted and synchronized scene anims by default
}
---@class ENTITY_POPULATION_TYPE
ENTITY_POPULATION_TYPE = {
PT_UNKNOWN = 0,
PT_RANDOM_PERMANENT = 1,
PT_RANDOM_PARKED = 2,
PT_RANDOM_PATROL = 3,
PT_RANDOM_SCENARIO = 4,
PT_RANDOM_AMBIENT = 5,
PT_PERMANENT = 6,
PT_MISSION = 7,
PT_REPLAY = 8,
PT_CACHE = 9,
PT_TOOL = 10,
}