26 bike.GetActionComponentNameList(target.GetComponentIndex(), selections,
LOD.
NAME_VIEW);
28 vector playerPosition = player.GetPosition();
29 foreach (
string selection : selections)
31 if (bike.CanReachSeatFromDoors(selection, playerPosition, 1.0))
33 m_AnimSource = bike.GetAnimSourceFromSelection(selection);
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
void ActionTarget(Object object, Object parent, int componentIndex, vector cursorHitPos, float utility, string surfaceName="")
override bool CanBeUsedInVehicle()
void ActionAnimateMotorbikeSeat()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override void CreateConditionComponents()
void ActionAnimateSeats()
Super root of all classes in Enforce script.
static const string NAME_VIEW
DayZPlayerConstants
defined in C++
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
class array< Class T > TStringArray