Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_IsCharacterInControlCondition.c
Go to the documentation of this file.
1
5{
6 [Attribute("0")]
7 protected bool m_bIsAvailableInVehicle;
8
9 //------------------------------------------------------------------------------------------------
11 {
12 // Can be controlled in vehicle
13 bool vehicleControl = !data.GetIsCharacterInVehicle();
15 vehicleControl = true;
16
17 // Can character control action
18 bool inControl = !data.GetIsCharacterFalling() &&
19 !data.GetIsCharacterSwimming() &&
20 vehicleControl;
21
22 return GetReturnResult(inControl);
23 }
24}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Get all prefabs that have the spawner data
A single available action condition representation.
override bool IsAvailable(notnull SCR_AvailableActionsConditionData data)
SCR_FieldOfViewSettings Attribute