Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBindBoids Methods

The methods of the CScriptBindBoids class are listed here.

 
Name 
Description 
 
Syntax: Boids.CreateBugsFlock( entity,paramsTable )
Creates a bugs flock and binds it to the given entity. 
 
Syntax: Boids.CreateFishFlock( entity,paramsTable )
Creates a fishes flock and binds it to the given entity. 
 
Syntax: Boids.CreateFlock( entity,paramsTable )
Creates a flock of boids and binds it to the given entity. 
 
Syntax: Boids.EnableFlock( entity,paramsTable )
Enables/Disables flock in the entity. 
 
This is GetMemoryUsage, a member of class CScriptBindBoids. 
 
Syntax: Boids.OnBoidHit( flockEntity,boidEntity,hit )
Events that occurs on boid hit. 
 
Syntax: Boids.SetAttractionPoint( entity,paramsTable )
Sets the one time attraction point for the boids 
 
Syntax: Boids.SetFlockParams( entity,paramsTable )
Modifies parameters of the existing flock in the specified enity. 
 
Syntax: Boids.SetFlockPercentEnabled( entity,paramsTable )
Used to gradually enable flock. Depending on the percentage more or less boid objects will be rendered in flock. 
Copyright (c) 2012. All rights reserved.