54 if ((
item &&
item.ConfigIsExisting(
"writingColor") &&
target.GetObject() && Paper.Cast(
target.GetObject())) || (
target.GetObject() &&
target.GetObject().ConfigIsExisting(
"writingColor") &&
item && Paper.Cast(
item)))
61 if (
action_data.m_Target.GetObject().ConfigIsExisting(
"writingColor"))
69 if (
action_data.m_Target.GetObject().ConfigIsExisting(
"writingColor"))
79 if (!
GetGame().IsDedicatedServer())
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
ref ActionTarget m_Target
ref CABase m_ActionComponent
override void RequestEndAction()
override void EndActionComponent()
override void OnStateChange(int pOldState, int pCurrentState)
override void CreateActionComponent()
override void OnUpdate(ActionData action_data)
const float TARGET_DISTANCE
override void OnStartServer(ActionData action_data)
override void CreateConditionComponents()
override void OnEndRequest(ActionData action_data)
override void OnStartClient(ActionData action_data)
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override WrittenNoteData GetWrittenNoteData()
DayZPlayerConstants
defined in C++
proto native CGame GetGame()
static const int STATE_NONE
undef state - not running anymore
proto native void EnableStateChangeCallback()
enables state change callback OnStateChange
static const int STATE_LOOP_LOOP