Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_System::GetEntitiesInSphere Method
Syntax
C++
int GetEntitiesInSphere(IFunctionHandler * pH, Vec3 center, float radius);
Parameters 
Description 
float radius 
Radius of the sphere. ! Gets all the entities contained into the specified sphere.
!return a all entities for a specified entity class @return a table filled with all entities of a specified entity class in a radius 
centre 
Centre position vector for the sphere where to look at entities. !  

!

System.GetEntitiesInSphere( centre, radius )

!

Copyright (c) 2012. All rights reserved.