Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
AnimPhysCommandScripted Class Reference
Inheritance diagram for AnimPhysCommandScripted:
ScriptedCommand ScriptedCommand CharacterCommandScripted CharacterCommandScripted SCR_CharacterCommandFly CharacterCommandScripted CharacterCommandScripted SCR_CharacterCommandFly

Protected Member Functions

void AnimPhysCommandScripted ()
 constructor is protected - we don't wnat instances of this "abstract" class
void OnActivate ()
void OnDeactivate ()
 called when command ends
proto native bool IsFlagAutoDelete ()
proto native void SetFlagAutoDelete (bool pV)
proto native void SetFlagFinished (bool pFinished)
 this terminates human command script and shows CommandHandler( ... pCurrentCommandFinished == true );
proto native bool IsFlagFinished ()
void PreAnimUpdate (float pDt)
proto native void PreAnim_CallCommand (int pCommand, int pParamInt, float pParamFloat)
proto native void PreAnim_CallCommand4I (int pCommand, int pParamInt1, int pParamInt2, int pParamInt3, int pParamInt4, float pParamFloat)
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 void PreAnim_SetAttachment (string bindingName, string animGraphResourceName, string animInstanceResourceName, string startingNodeName)
void PrePhysUpdate (float pDt)
proto native bool PrePhys_IsEvent (int pEvent)
 script function usable in PrePhysUpdate
proto native bool PrePhys_IsTag (int pTag)
proto bool PrePhys_GetPredictionEval (int pPrediction, out int pGlobalBoneIndex, out bool pIsTranslation, out bool pIsRotation, out vector pOutTransl, out float pOutRot[4], out float pTimeToPrediction, out float pNormTimeInAnims)
proto native bool PrePhys_GetTranslation (out vector pOutTransl)
proto native bool PrePhys_GetRotation (out float pOutRot[4])
proto native void PrePhys_SetTranslation (vector pInTransl)
proto native void PrePhys_SetRotation (float pInRot[4])
bool PostPhysUpdate (float pDt)
proto native void PostPhys_GetPosition (out vector pOutTransl)
 script function usable in PostPhysUpdate
proto native void PostPhys_GetRotation (out float pOutRot[4])
proto native void PostPhys_SetPosition (vector pInTransl)
proto native void PostPhys_SetRotation (float pInRot[4])
proto native void PostPhys_LockRotation ()

Detailed Description

Definition at line 1 of file animPhysCommand.c.

Constructor & Destructor Documentation

◆ AnimPhysCommandScripted()

void AnimPhysCommandScripted::AnimPhysCommandScripted ( )
protected

constructor is protected - we don't wnat instances of this "abstract" class

Member Function Documentation

◆ IsFlagAutoDelete()

proto native bool AnimPhysCommandScripted::IsFlagAutoDelete ( )
protected

autodelete flag (when set, agent will delete the command after returning PreAnimUpdate or PostPhysicsUpdate automaticaly) usable for additive commands

◆ IsFlagFinished()

proto native bool AnimPhysCommandScripted::IsFlagFinished ( )
protected

◆ OnActivate()

void AnimPhysCommandScripted::OnActivate ( )
protected

virtual to be overridden called when command starts

◆ OnDeactivate()

void AnimPhysCommandScripted::OnDeactivate ( )
protected

called when command ends

◆ PostPhys_GetPosition()

proto native void AnimPhysCommandScripted::PostPhys_GetPosition ( out vector pOutTransl)
protected

script function usable in PostPhysUpdate

◆ PostPhys_GetRotation()

proto native void AnimPhysCommandScripted::PostPhys_GetRotation ( out float pOutRot[4])
protected

◆ PostPhys_LockRotation()

proto native void AnimPhysCommandScripted::PostPhys_LockRotation ( )
protected

◆ PostPhys_SetPosition()

proto native void AnimPhysCommandScripted::PostPhys_SetPosition ( vector pInTransl)
protected

◆ PostPhys_SetRotation()

proto native void AnimPhysCommandScripted::PostPhys_SetRotation ( float pInRot[4])
protected

◆ PostPhysUpdate()

bool AnimPhysCommandScripted::PostPhysUpdate ( float pDt)
protected

override this ! final adjustment of physics state (after physics was applied) returns true if command continues running / false if command should end (or you can use SetFlagFinished(true))

◆ PreAnim_CallCommand()

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

◆ PreAnim_CallCommand4I()

proto native void AnimPhysCommandScripted::PreAnim_CallCommand4I ( int pCommand,
int pParamInt1,
int pParamInt2,
int pParamInt3,
int pParamInt4,
float pParamFloat )
protected

◆ PreAnim_SetAttachment()

proto native void AnimPhysCommandScripted::PreAnim_SetAttachment ( string bindingName,
string animGraphResourceName,
string animInstanceResourceName,
string startingNodeName )
protected

◆ PreAnim_SetBool()

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

◆ PreAnim_SetFloat()

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

◆ PreAnim_SetInt()

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

◆ PreAnimUpdate()

void AnimPhysCommandScripted::PreAnimUpdate ( float pDt)
protected

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

◆ PrePhys_GetPredictionEval()

proto bool AnimPhysCommandScripted::PrePhys_GetPredictionEval ( int pPrediction,
out int pGlobalBoneIndex,
out bool pIsTranslation,
out bool pIsRotation,
out vector pOutTransl,
out float pOutRot[4],
out float pTimeToPrediction,
out float pNormTimeInAnims )
protected

◆ PrePhys_GetRotation()

proto native bool AnimPhysCommandScripted::PrePhys_GetRotation ( out float pOutRot[4])
protected

◆ PrePhys_GetTranslation()

proto native bool AnimPhysCommandScripted::PrePhys_GetTranslation ( out vector pOutTransl)
protected

◆ PrePhys_IsEvent()

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

script function usable in PrePhysUpdate

◆ PrePhys_IsTag()

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

◆ PrePhys_SetRotation()

proto native void AnimPhysCommandScripted::PrePhys_SetRotation ( float pInRot[4])
protected

◆ PrePhys_SetTranslation()

proto native void AnimPhysCommandScripted::PrePhys_SetTranslation ( vector pInTransl)
protected

◆ PrePhysUpdate()

void AnimPhysCommandScripted::PrePhysUpdate ( float pDt)
protected

override this ! after animation is processed, before physics is processed

◆ SetFlagAutoDelete()

proto native void AnimPhysCommandScripted::SetFlagAutoDelete ( bool pV)
protected

◆ SetFlagFinished()

proto native void AnimPhysCommandScripted::SetFlagFinished ( bool pFinished)
protected

this terminates human command script and shows CommandHandler( ... pCurrentCommandFinished == true );


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