MCPcopy Create free account
hub / github.com/StrongPC123/Far-Cry-1-Source-Full / SetAnimationSpeed

Method SetAnimationSpeed

CrySystem/ScriptObjectEntity.cpp:3068–3075  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

3066
3067//////////////////////////////////////////////////////////////////////////
3068int CScriptObjectEntity::SetAnimationSpeed(IFunctionHandler *pH)
3069{
3070 CHECK_PARAMETERS(1);
3071 float fSpeed;
3072 pH->GetParam(1,fSpeed);
3073 m_pEntity->SetAnimationSpeed( fSpeed );
3074 return pH->EndFunction();
3075}
3076
3077//////////////////////////////////////////////////////////////////////////
3078int CScriptObjectEntity::SetAnimationTime(IFunctionHandler *pH)

Callers 1

StartAnimationMethod · 0.45

Calls 2

EndFunctionMethod · 0.80
GetParamMethod · 0.45

Tested by

no test coverage detected