PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
AnimCommandBase Class Reference

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

Private Member Functions

protected void AnimCommandBase ()
 
protected 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

Constructor & Destructor Documentation

◆ AnimCommandBase()

protected void AnimCommandBase ( )
inlineprivate

◆ ~AnimCommandBase()

protected void ~AnimCommandBase ( )
inlineprivate

Member Function Documentation

◆ GetEntity()

proto native IEntity GetEntity ( )
private

returns entity that this command is bount to

◆ OnActivate()

void OnActivate ( )
inlineprivate

called when command starts

◆ OnDeactivate()

void OnDeactivate ( )
inlineprivate

called when command ends

◆ PreAnim_CallCommand()

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

functions usable only from OnActivate or PreAnimUpdate

◆ PreAnim_SetBool()

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

◆ PreAnim_SetFloat()

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

◆ PreAnim_SetInt()

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

◆ PreAnimUpdate()

void PreAnimUpdate ( float  pDt)
inlineprivate

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

◆ PrePhys_IsEvent()

proto native bool PrePhys_IsEvent ( int  pEvent)
private

functions usable in PrePhysUpdate

◆ PrePhys_IsTag()

proto native bool PrePhys_IsTag ( int  pTag)
private

◆ PrePhysUpdate()

void PrePhysUpdate ( float  pDt)
inlineprivate

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


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