Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CreateFlock
Syntax
C++
int CreateFlock(IFunctionHandler * pH, SmartScriptTable entity, int nType, SmartScriptTable paramTable);
Parameters 
Description 
SmartScriptTable entity 
Valid entity table. 
int nType 
Type of the flock, can be Boids.FLOCK_BIRDS,Boids.FLOCK_FISH,Boids.FLOCK_BUGS. 
SmartScriptTable paramTable 
Table with parameters for flock (Look at sample scripts).
 

Syntax: Boids.CreateFlock( entity,paramsTable ) 

Creates a flock of boids and binds it to the given entity.

Copyright (c) 2012. All rights reserved.