Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
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
proto native void PreAnim_CallCommand (int pCommand, int pParamInt, float pParamFloat)
 functions usable only from OnActivate or PreAnimUpdate
proto native void PreAnim_SetBool (int pVar, bool pBool)
proto native void PreAnim_SetFloat (int pVar, float pFlt)
proto native void PreAnim_SetInt (int pVar, int pInt)
void PreAnimUpdate (float pDt)
 called before any animation is processed here change animation values, add animation commands
proto native bool PrePhys_IsEvent (int pEvent)
 functions usable in PrePhysUpdate
proto native bool PrePhys_IsTag (int pTag)
void PrePhysUpdate (float pDt)
 after animation is processed, before physics is processed here you can listen to various events

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 ( )
inlineprotected

Definition at line 6 of file animcommand.c.

◆ ~AnimCommandBase()

void ~AnimCommandBase ( )
inlineprotected

Definition at line 7 of file animcommand.c.

Member Function Documentation

◆ GetEntity()

proto native IEntity GetEntity ( )
protected

returns entity that this command is bount to

◆ OnActivate()

void OnActivate ( )
inlineprotected

called when command starts

Definition at line 13 of file animcommand.c.

◆ OnDeactivate()

void OnDeactivate ( )
inlineprotected

called when command ends

Definition at line 16 of file animcommand.c.

◆ PreAnim_CallCommand()

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

functions usable only from OnActivate or PreAnimUpdate

◆ PreAnim_SetBool()

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

◆ PreAnim_SetFloat()

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

◆ PreAnim_SetInt()

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

◆ PreAnimUpdate()

void 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.

◆ PrePhys_IsEvent()

proto native bool PrePhys_IsEvent ( int pEvent)
protected

functions usable in PrePhysUpdate

◆ PrePhys_IsTag()

proto native bool PrePhys_IsTag ( int pTag)
protected

◆ PrePhysUpdate()

void 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.


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