DayZ 1.24
Loading...
Searching...
No Matches
AnimCommand.c
Go to the documentation of this file.
1
3{
4 // These would be private if not for the scripted commands
5 // As other commands lifetime are handled internally
6 protected void AnimCommandBase() {}
7 protected void ~AnimCommandBase() {}
8
11
13 void OnActivate() {}
14
16 void OnDeactivate() {}
17
20 void PreAnimUpdate(float pDt) {}
21
24 void PrePhysUpdate(float pDt) {}
25
31
35}
base class of all commands exposed to script to provide common functionality over animations
Definition AnimCommand.c:3
void OnDeactivate()
called when command ends
Definition AnimCommand.c:16
proto native void PreAnim_SetBool(int pVar, bool pBool)
void PreAnimUpdate(float pDt)
Definition AnimCommand.c:20
void PrePhysUpdate(float pDt)
Definition AnimCommand.c:24
proto native void PreAnim_CallCommand(int pCommand, int pParamInt, float pParamFloat)
functions usable only from OnActivate or PreAnimUpdate
proto native void PreAnim_SetInt(int pVar, int pInt)
void AnimCommandBase()
Definition AnimCommand.c:6
proto native void PreAnim_SetFloat(int pVar, float pFlt)
void ~AnimCommandBase()
Definition AnimCommand.c:7
void OnActivate()
called when command starts
Definition AnimCommand.c:13
proto native bool PrePhys_IsEvent(int pEvent)
functions usable in PrePhysUpdate
proto native bool PrePhys_IsTag(int pTag)
proto native IEntity GetEntity()
returns entity that this command is bount to