Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GetEntitiesInSphereByClass
Syntax
C++
int GetEntitiesInSphereByClass(IFunctionHandler * pH, Vec3 center, float radius, const char* EntityClass);
Parameters 
Description 
float radius 
Radius of the sphere. 
const char* EntityClass 
Entity class name. 
centre 
Centre position vector for the sphere where to look at entities. 

Syntax: System.GetEntitiesInSphereByClass( centre, radius, EntityClass ) 

Gets all the entities contained into the specified sphere for the specific class name.

Copyright (c) 2012. All rights reserved.