Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
actionpushcar.c File Reference

Go to the source code of this file.

Data Structures

class  ActionPushCarCB
class  ActionPushCarData
class  ActionPushCarDataReceiveData

Functions

override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
ActionPushCarCB ActionPushObjectCB ActionPushCar ()
void ApplyForce (ActionPushObjectData actionData)
override void CreateActionComponent ()
override ActionData CreateActionData ()
CarScript GetCar (ActionTarget target)
 DEPRECATED.
float GetDirectionDot (Object target, EntityAI player)
ActionPushCarData ActionPushObjectData GetProgressWidgetMultiplier ()
override void OnEndServer (ActionData action_data)
override void OnStartServer (ActionData action_data)

Variables

ActionPushCarData m_ActionDataPushCar
CarScript m_Car
float m_HorizontalDirectionRandom = 1.0
int m_PushDirection = -1
float m_VerticalDirectionRandom = 1.0
float PUSH_FORCE_IMPULSE_INCREMENT = 200.0

Function Documentation

◆ ActionCondition()

override bool ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )

Definition at line 68 of file actionpushcar.c.

References ActionTarget, ActionBase::IsInReach(), and UAMaxDistances::SMALL.

◆ ActionPushCar()

ActionPushCarCB ActionPushObjectCB ActionPushCar ( )

Definition at line 1 of file actionpushcar.c.

Referenced by ActionConstructor::RegisterActions(), and Car::SetActions().

◆ ApplyForce()

void ApplyForce ( ActionPushObjectData actionData)
protected

Definition at line 68 of file actionpushcar.c.

Referenced by ProgressActionComponent().

◆ CreateActionComponent()

override void CreateActionComponent ( )
private

Definition at line 63 of file actionpushcar.c.

References m_StanceMask.

◆ CreateActionData()

override ActionData CreateActionData ( )

Definition at line 79 of file actionpushcar.c.

References ActionData.

◆ GetCar()

CarScript GetCar ( ActionTarget target)
private

DEPRECATED.

Definition at line 120 of file actionpushcar.c.

References ActionTarget, and ActionPushObject::GetPushObject().

◆ GetDirectionDot()

float GetDirectionDot ( Object target,
EntityAI player )
protected

Definition at line 114 of file actionpushcar.c.

References vector::Dot().

Referenced by OnStartServer().

◆ GetProgressWidgetMultiplier()

ActionPushCarData ActionPushObjectData GetProgressWidgetMultiplier ( )

Definition at line 1 of file actionpushcar.c.

◆ OnEndServer()

override void OnEndServer ( ActionData action_data)

Definition at line 104 of file actionpushcar.c.

References ActionData.

◆ OnStartServer()

override void OnStartServer ( ActionData action_data)

Definition at line 85 of file actionpushcar.c.

References ActionData, GetDirectionDot(), and ActionPushCarData::m_PushDirection.

Variable Documentation

◆ m_ActionDataPushCar

ActionPushCarData m_ActionDataPushCar
private

Definition at line 61 of file actionpushcar.c.

◆ m_Car

CarScript m_Car

Definition at line 19 of file actionpushcar.c.

Referenced by ActionCarHornShort().

◆ m_HorizontalDirectionRandom

float m_HorizontalDirectionRandom = 1.0

Definition at line 15 of file actionpushcar.c.

◆ m_PushDirection

int m_PushDirection = -1

Definition at line 14 of file actionpushcar.c.

◆ m_VerticalDirectionRandom

float m_VerticalDirectionRandom = 1.0

Definition at line 16 of file actionpushcar.c.

◆ PUSH_FORCE_IMPULSE_INCREMENT

float PUSH_FORCE_IMPULSE_INCREMENT = 200.0
protected

Definition at line 59 of file actionpushcar.c.