Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_System::GetEntityIdByName Method
Syntax
C++
int GetEntityIdByName(IFunctionHandler* pH, const char* sEntityName);
Parameters 
Description 
const char* sEntityName 
Name of the entity to search. 

!

System.GetEntityIdByName( sEntityName )

! ! Retrieve entity Id for the first entity with specified name. ! If multiple entities with same name exist, first one found is returned. ! !  

 

Copyright (c) 2012. All rights reserved.