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

Method GetName

CrySystem/ScriptObjectEntity.cpp:501–507  ·  view source on GitHub ↗

! Get the name of the entity @return Name of the entity */

Source from the content-addressed store, hash-verified

499 @return Name of the entity
500*/
501int CScriptObjectEntity::GetName(IFunctionHandler *pH)
502{
503 CHECK_PARAMETERS(0);
504 string sName;
505 sName=m_pEntity->GetName();
506 return pH->EndFunction(sName.c_str());
507}
508
509/*! Load an animated character
510 @param sFileName File name of the .cid file

Callers 9

GetAINameMethod · 0.45
StartAnimationMethod · 0.45
SelectPipeMethod · 0.45
GotoStateMethod · 0.45
DoRandomExpressionsMethod · 0.45
DoExpressionMethod · 0.45
SayDialogMethod · 0.45
StopDialogMethod · 0.45
GetMaterialMethod · 0.45

Calls 2

EndFunctionMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected