Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_System::GetNearestEntityByClass Method
Syntax
C++
int GetNearestEntityByClass(IFunctionHandler * pH, Vec3 center, float radius, const char * className);
Parameters 
Description 
float radius 
Radius of the sphere. !  
const char * className 
Entity class name. ! Gets the nearest entity with the specified class. 
centre 
Centre position vector for the area where to look at entities. !  

!

System.GetNearestEntityByClass( centre, radius, className )

!

Copyright (c) 2012. All rights reserved.