DayZ 1.24
Loading...
Searching...
No Matches
HandSelectAnimationOfForceSwapInHandsEvent Class Reference

Private Member Functions

override bool GuardCondition (HandEventBase e)
 

Detailed Description

Definition at line 289 of file HandAnimated_Guards.c.

Member Function Documentation

◆ GuardCondition()

override bool HandSelectAnimationOfForceSwapInHandsEvent::GuardCondition ( HandEventBase e)
inlineprivate

Definition at line 291 of file HandAnimated_Guards.c.

292 {
294 if (es)
295 {
296 int animType1 = -1;
297 int animType2 = -1;
298 if (ProcessSwapEvent(e, animType1, animType2))
299 {
300 e.m_AnimationID = animType1;
301 es.m_Animation2ID = animType2;
302 return true;
303 }
304 }
305 else
306 Error("[hndfsm] HandSelectAnimationOfSwapInHandsEvent - not a swap event");
307 return false;
308 }
void Error(string err)
Messagebox with error message.
Definition EnDebug.c:90

References Error().


The documentation for this class was generated from the following file: