85 if (!
player.IsPlacingLocal())
146 if (
item.IsHeavyBehaviour())
148 else if (
item.IsOneHandedBehaviour())
150 else if (
item.IsTwoHandedBehaviour())
153 Print(
"Error: check " +
item +
" behaviour");
165 if (!
GetGame().IsMultiplayer())
189 return " re-packed " +
action_data.m_Target.GetObject().GetDisplayName() +
" with Hands ";
201 OverrideNewLocation(
hands);
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
ref CABase m_ActionComponent
void DropDuringRepacking()
override void CreateActionComponent()
override string GetAdminLogMessage(ActionData action_data)
override bool SetupAction(PlayerBase player, ActionTarget target, ItemBase item, out ActionData action_data, Param extra_data=NULL)
override void OnFinishProgressServer(ActionData action_data)
override void OnStartAnimationLoopClient(ActionData action_data)
override void OnStartAnimationLoopServer(ActionData action_data)
override void CreateConditionComponents()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override void OnStartServer(ActionData action_data)
void SetupAnimation(ItemBase item)
override bool HasTarget()
override bool ActionConditionContinue(ActionData action_data)
override bool HasAlternativeInterrupt()
override void OnEndServer(ActionData action_data)
override void OnEndAnimationLoop(ActionData action_data)
EntityAI m_RepackedEntity
override bool HasProgress()
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
EntityAI m_RepackedNewEntity
void RepackLambda(EntityAI old_item, string new_item_type, PlayerBase player)
static proto native float DistanceSq(vector v1, vector v2)
Returns the square distance between tips of two 3D vectors.
DayZPlayerConstants
defined in C++
proto native CGame GetGame()
proto void Print(void var)
Prints content of variable to console/log.
static proto void MatrixToQuat(vector mat[3], out float d[4])
Converts rotation matrix to quaternion.
static proto void YawPitchRollMatrix(vector ang, out vector mat[3])
Creates rotation matrix from angles.