MCPcopy Create free account
hub / github.com/MergHQ/CRYENGINE / GetCharacter

Method GetCharacter

Code/CryEngine/CryEntitySystem/ScriptBind_Entity.cpp:1720–1729  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1718
1719//////////////////////////////////////////////////////////////////////////
1720int CScriptBind_Entity::GetCharacter(IFunctionHandler* pH, int nSlot)
1721{
1722 GET_ENTITY;
1723 ICharacterInstance* pCharacter = pEntity->GetCharacter(nSlot);
1724 if (pCharacter)
1725 {
1726 return pH->EndFunction(ScriptHandle(pCharacter));
1727 }
1728 return pH->EndFunction();
1729}
1730
1731//////////////////////////////////////////////////////////////////////////
1732int CScriptBind_Entity::SetSlotScale(IFunctionHandler* pH, int nSlot, float fScale)

Callers 15

GetBoneLocalMethod · 0.45
CreateBoneAttachmentMethod · 0.45
CreateSkinAttachmentMethod · 0.45
DestroyAttachmentMethod · 0.45
GetAttachmentBoneMethod · 0.45
GetAttachmentCGFMethod · 0.45
ResetAttachmentMethod · 0.45
SetAttachmentEffectMethod · 0.45
SetAttachmentObjectMethod · 0.45
SetAttachmentCGFMethod · 0.45
SetAttachmentLightMethod · 0.45
SetAttachmentPosMethod · 0.45

Calls 2

ScriptHandleFunction · 0.85
EndFunctionMethod · 0.45

Tested by

no test coverage detected