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

Syntax: 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.