Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_VehicleHasAnyGroundContactCondition.c
Go to the documentation of this file.
1//------------------------------------------------------------------------------------------------
5{
6 //------------------------------------------------------------------------------------------------
7 override bool IsAvailable(notnull SCR_AvailableActionsConditionData data)
8 {
9 VehicleControllerComponent controller = VehicleControllerComponent.Cast(data.GetCurrentVehicleController());
10 if (!controller)
11 return GetReturnResult(false);
12
13 VehicleBaseSimulation simulation = controller.GetBaseSimulation();
14 return GetReturnResult(simulation && simulation.HasAnyGroundContact());
15 }
16}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Get all prefabs that have the spawner data
A single available action condition representation.
Returns true if vehicle is colliding with ground.