Definition at line 19 of file ActionRestrainTarget.c.
◆ ActionRestrainTarget()
void ActionRestrainTarget::ActionRestrainTarget |
( |
| ) |
|
|
inlineprivate |
◆ ActionCondition()
Definition at line 37 of file ActionRestrainTarget.c.
38 {
41 return false;
44 else
46
47 }
DayZPlayerInstanceType
defined in C++
◆ ActionConditionContinue()
Definition at line 57 of file ActionRestrainTarget.c.
58 {
60
62 {
64 return false;
65 }
67 {
69
72
74
75 }
76 return true;
77 }
proto native CGame GetGame()
References GetGame().
◆ CreateConditionComponents()
override void ActionRestrainTarget::CreateConditionComponents |
( |
| ) |
|
|
inlineprivate |
◆ GetStanceMask()
◆ OnEndServer()
◆ OnFinishProgressClient()
◆ OnFinishProgressServer()
Definition at line 103 of file ActionRestrainTarget.c.
104 {
107
109 {
112
114 {
115 Error(
"Restraining target failed, nothing in hands");
116 return;
117 }
118
121 {
122 Print(
"Restraining player with item in hands, first drop & then restrain");
123
126 }
127 else
128 {
129 Print(
"Restraining player with empty hands");
132 }
133
135 }
136 }
bool CanReceiveAction(ActionTarget target)
void RestrainTargetPlayerLambda(EntityAI old_item, string new_item_type, PlayerBase player)
void Error(string err)
Messagebox with error message.
proto void Print(void var)
Prints content of variable to console/log.
References CanReceiveAction(), Error(), m_SpecialtyWeight, Print(), and RestrainTargetPlayerLambda().
◆ OnStartServer()
The documentation for this class was generated from the following file: