◆ ActionCarDoors()
◆ ActionCondition()
player inside vehicle
crewIdx sanity checks and see if there is a door
see if door is in reach
24 {
27
30 {
32 {
34
37 {
38 return false;
39 }
40
42
45 {
46 return false;
47 }
48
50
53 }
54 }
55
56 return false;
57 }
CarDoorState
Definition CarScript.c:2
int m_CommandUIDPerCrewIdx[4]
Definition ActionCarDoors.c:3
bool m_IsOpening
Definition ActionCarDoors.c:4
Definition CivilianSedan.c:2
Super root of all classes in Enforce script.
Definition EnScript.c:11
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
Перекрестные ссылки Class::CastTo(), AnimatedActionBase::m_CommandUID, m_CommandUIDPerCrewIdx и m_IsOpening.
◆ CanBeUsedInVehicle()
121 {
122 return true;
123 }
◆ CreateConditionComponents()
◆ FillCommandUIDPerCrewIdx() [1/2]
void FillCommandUIDPerCrewIdx |
( |
int | crewIdx0, |
|
|
int | crewIdx1, |
|
|
int | crewIdx2, |
|
|
int | crewIdx3 ) |
|
inlineprotected |
◆ FillCommandUIDPerCrewIdx() [2/2]
void FillCommandUIDPerCrewIdx |
( |
int | evenCrewIdx0, |
|
|
int | unevenCrewIdx1 ) |
|
inlineprotected |
134 {
136 }
void FillCommandUIDPerCrewIdx(int crewIdx0, int crewIdx1, int crewIdx2, int crewIdx3)
Definition ActionCarDoors.c:125
Перекрестные ссылки FillCommandUIDPerCrewIdx().
◆ OnEnd()
113 {
115 {
116 Error(
"[WARNING] m_Car and m_AnimSource are left for backwards compatibility to not crash mods that are using it, but should no longer be used.");
117 }
118 }
string m_AnimSource
Definition ActionCarDoors.c:7
CarScript m_Car
Definition ActionCarDoors.c:6
void Error(string err)
Messagebox with error message.
Definition EnDebug.c:90
proto native int Length()
Returns length of string.
Перекрестные ссылки Error(), string::Length(), m_AnimSource и m_Car.
◆ OnEndServer()
96 {
98
102 {
104 }
105
107 {
108 car.ForceUpdateLightsEnd();
109 }
110 }
Definition PlayerBaseClient.c:2
◆ OnStartServer()
60 {
62
64
67 {
69 }
70 else
71 {
73 }
74
76
79 {
82 {
85 }
86 }
87
89 {
90 car.ForceUpdateLightsStart();
92 }
93 }
Перекрестные ссылки m_IsOpening.
◆ m_AnimSource
◆ m_Car
◆ m_CommandUIDPerCrewIdx
int m_CommandUIDPerCrewIdx[4] |
|
protected |
◆ m_IsOpening
Объявления и описания членов класса находятся в файле:
- D:/Ishodniki/scripts/4_World/Classes/UserActionsComponent/Actions/Interact/Vehicles/ActionCarDoors.c