◆ 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()
117 {
118 return true;
119 }
◆ CreateConditionComponents()
18 {
21 }
ref CCIBase m_ConditionItem
Definition ActionBase.c:55
ref CCTBase m_ConditionTarget
Definition ActionBase.c:56
Перекрестные ссылки m_ConditionItem и m_ConditionTarget.
◆ FillCommandUIDPerCrewIdx() [1/2]
void FillCommandUIDPerCrewIdx |
( |
int | crewIdx0, |
|
|
int | crewIdx1, |
|
|
int | crewIdx2, |
|
|
int | crewIdx3 ) |
|
inlineprotected |
◆ FillCommandUIDPerCrewIdx() [2/2]
void FillCommandUIDPerCrewIdx |
( |
int | evenCrewIdx0, |
|
|
int | unevenCrewIdx1 ) |
|
inlineprotected |
130 {
132 }
void FillCommandUIDPerCrewIdx(int crewIdx0, int crewIdx1, int crewIdx2, int crewIdx3)
Definition ActionCarDoors.c:121
Перекрестные ссылки FillCommandUIDPerCrewIdx().
◆ OnEnd()
109 {
111 {
112 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.");
113 }
114 }
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()
94 {
98 {
100 }
101
103 {
104 car.ForceUpdateLightsEnd();
105 }
106 }
Definition PlayerBaseClient.c:2
◆ OnStartServer()
60 {
62
65 {
67 }
68 else
69 {
71 }
72
74
77 {
80 {
83 }
84 }
85
87 {
88 car.ForceUpdateLightsStart();
90 }
91 }
Перекрестные ссылки 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