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

!

System.GetNearestEntityByName( sEntityName )

! ! Retrieve entity table for the entity with specified name. ! If multiple entities with same name exist, the one neartest to camera is returned. ! !  

 

Copyright (c) 2012. All rights reserved.