MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / setActionThread

Method setActionThread

Engine/source/T3D/player.cpp:3743–3756  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3741//----------------------------------------------------------------------------
3742
3743bool Player::setActionThread(const char* sequence,bool hold,bool wait,bool fsp)
3744{
3745 for (U32 i = 1; i < mDataBlock->actionCount; i++)
3746 {
3747 PlayerData::ActionAnimation &anim = mDataBlock->actionList[i];
3748 if (!dStricmp(anim.name,sequence))
3749 {
3750 setActionThread(i,true,hold,wait,fsp);
3751 setMaskBits(ActionMask);
3752 return true;
3753 }
3754 }
3755 return false;
3756}
3757
3758void Player::setActionThread(U32 action,bool forward,bool hold,bool wait,bool fsp, bool forceSet)
3759{

Callers 4

AIPlayerFunction · 0.80
PlayerDataFunction · 0.80
player.csFile · 0.80
player.cppFile · 0.80

Calls 7

dStricmpFunction · 0.85
errorfFunction · 0.85
isJumpActionMethod · 0.80
transitionToSequenceMethod · 0.80
setTimeScaleMethod · 0.45
getPosMethod · 0.45
setSequenceMethod · 0.45

Tested by

no test coverage detected