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

base class of all commands exposed to script to provide common functionality over animations More...

Protected Member Functions

void AnimCommandBase ()
 
void ~AnimCommandBase ()
 
proto native IEntity GetEntity ()
 returns entity that this command is bount to
 
void OnActivate ()
 called when command starts
 
void OnDeactivate ()
 called when command ends
 
void PreAnimUpdate (float pDt)
 
void PrePhysUpdate (float pDt)
 
proto native void PreAnim_CallCommand (int pCommand, int pParamInt, float pParamFloat)
 functions usable only from OnActivate or PreAnimUpdate
 
proto native void PreAnim_SetFloat (int pVar, float pFlt)
 
proto native void PreAnim_SetInt (int pVar, int pInt)
 
proto native void PreAnim_SetBool (int pVar, bool pBool)
 
proto native bool PrePhys_IsEvent (int pEvent)
 functions usable in PrePhysUpdate
 
proto native bool PrePhys_IsTag (int pTag)
 

Detailed Description

base class of all commands exposed to script to provide common functionality over animations

Definition at line 2 of file AnimCommand.c.

Constructor & Destructor Documentation

◆ AnimCommandBase()

void AnimCommandBase::AnimCommandBase ( )
inlineprotected

Definition at line 6 of file AnimCommand.c.

6{}

◆ ~AnimCommandBase()

void AnimCommandBase::~AnimCommandBase ( )
inlineprotected

Definition at line 7 of file AnimCommand.c.

7{}

Member Function Documentation

◆ GetEntity()

proto native IEntity AnimCommandBase::GetEntity ( )
protected

returns entity that this command is bount to

◆ OnActivate()

void AnimCommandBase::OnActivate ( )
inlineprotected

called when command starts

Definition at line 13 of file AnimCommand.c.

13{}

◆ OnDeactivate()

void AnimCommandBase::OnDeactivate ( )
inlineprotected

called when command ends

Definition at line 16 of file AnimCommand.c.

16{}

◆ PreAnim_CallCommand()

proto native void AnimCommandBase::PreAnim_CallCommand ( int pCommand,
int pParamInt,
float pParamFloat )
protected

functions usable only from OnActivate or PreAnimUpdate

◆ PreAnim_SetBool()

proto native void AnimCommandBase::PreAnim_SetBool ( int pVar,
bool pBool )
protected

◆ PreAnim_SetFloat()

proto native void AnimCommandBase::PreAnim_SetFloat ( int pVar,
float pFlt )
protected

◆ PreAnim_SetInt()

proto native void AnimCommandBase::PreAnim_SetInt ( int pVar,
int pInt )
protected

◆ PreAnimUpdate()

void AnimCommandBase::PreAnimUpdate ( float pDt)
inlineprotected

called before any animation is processed here change animation values, add animation commands

Definition at line 20 of file AnimCommand.c.

20{}

◆ PrePhys_IsEvent()

proto native bool AnimCommandBase::PrePhys_IsEvent ( int pEvent)
protected

functions usable in PrePhysUpdate

◆ PrePhys_IsTag()

proto native bool AnimCommandBase::PrePhys_IsTag ( int pTag)
protected

◆ PrePhysUpdate()

void AnimCommandBase::PrePhysUpdate ( float pDt)
inlineprotected

after animation is processed, before physics is processed here you can listen to various events

Definition at line 24 of file AnimCommand.c.

24{}

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