107#ifndef CFGMODS_DEFINE_TEST
108 Error(
"GetAnimInstance() not implemented");
117#ifndef CFGMODS_DEFINE_TEST
118 Error(
"GetSeatAnimationType() not implemented");
125#ifndef CFGMODS_DEFINE_TEST
126 Error(
"Get3rdPersonCameraType() not implemented");
135#ifndef CFGMODS_DEFINE_TEST
144#ifndef CFGMODS_DEFINE_TEST
153#ifndef CFGMODS_DEFINE_TEST
162#ifndef CFGMODS_DEFINE_TEST
177 case "DoorsCoDriver":
206 if (
hcv &&
hcv.GetTransport() ==
this)
212 return ((
e && (
e.IsZombie() ||
e.IsHologram())) ||
o.CanBeSkinned() ||
o.IsBush() ||
o.IsTree());
226 entry[1] = entry[2] * entry[0];
249 if (IsIgnoredObject(
o))
ref TIntArray m_InteractActions
Super root of all classes in Enforce script.
static Shape DrawBox(vector pos1, vector pos2, int color=0x1fff7f7f)
bool CanReachSeatFromSeat(int currentSeat, int nextSeat)
ref TIntArray m_SingleUseActions
override bool IsHealthVisible()
proto void CrewEntryWS(int posIdx, out vector pos, out vector dir)
Reads entry point and direction into vehicle on given position in world space.
proto void CrewEntry(int posIdx, out vector pos, out vector dir)
Reads entry point and direction into vehicle on given position in model space.
override bool ShowZonesHealth()
proto native Human CrewMember(int posIdx)
proto void CrewTransform(int posIdx, out vector mat[4])
Returns crew transformation indside vehicle in model space.
proto native Human CrewGetOut(int posIdx)
Performs transfer of player from vehicle into world from given position.
float GetTransportCameraDistance()
override int GetMeleeTargetType()
void HandleByCrewMemberState(ECrewMemberState state)
void MarkCrewMemberUnconscious(int crewMemberIndex)
proto native int CrewPositionIndex(int componentIdx)
proto native int CrewMemberIndex(Human player)
bool IsAreaAtDoorFree(int currentSeat, float maxAllowedObjHeight, inout vector extents, out vector transform[4])
override bool IsTransport()
proto native void Synchronize()
Synchronizes car's state in case the simulation is not running.
proto void CrewTransformWS(int posIdx, out vector mat[4])
Returns crew transformation indside vehicle in world space.
vector GetTransportCameraOffset()
proto native int CrewSize()
Returns crew capacity of this vehicle.
bool CrewCanGetThrough(int posIdx)
int GetSeatIndexFromDoor(string pDoorSelection)
proto native void CrewGetIn(Human player, int posIdx)
Performs transfer of player from world into vehicle on given position.
ref TIntArray m_ContinuousActions
Shape DebugFreeAreaAtDoor(int currentSeat, float maxAllowedObjHeight=0.5, float horizontalExtents=0.5, float playerHeight=1.7)
int GetSeatAnimationType(int posIdx)
bool IsAreaAtDoorFree(int currentSeat, float maxAllowedObjHeight=0.5, float horizontalExtents=0.5, float playerHeight=1.7)
int Get3rdPersonCameraType()
void MarkCrewMemberDead(int crewMemberIndex)
override bool IsIgnoredByConstruction()
bool CanReachDoorsFromSeat(string pDoorsSelection, int pCurrentSeat)
bool CanReachSeatFromDoors(string pSeatSelection, vector pFromPos, float pDistance=1.0)
proto native void CrewDeath(int posIdx)
Handles death of player in vehicle and awakes its physics if needed.
bool IsIgnoredObject(Object o)
Base native class for all motorized wheeled vehicles.
override bool IsAreaAtDoorFree(int currentSeat, float maxAllowedObjHeight=0.5, float horizontalExtents=0.5, float playerHeight=1.7)
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto native CGame GetGame()
void Error(string err)
Messagebox with error message.
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
static proto vector MatrixToAngles(vector mat[3])
Returns angles of rotation matrix.
static proto void MatrixMultiply4(vector mat0[4], vector mat1[4], out vector res[4])
Transforms matrix.
proto native bool dGetInteractionLayer(notnull IEntity worldEntity, int mask1, int mask2)
proto native int dBodyGetInteractionLayer(notnull IEntity ent)
int ARGB(int a, int r, int g, int b)