Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
SetFlockPercentEnabled
Syntax
C++
int SetFlockPercentEnabled(IFunctionHandler * pH, SmartScriptTable entity, int nPercent);
Parameters 
Description 
SmartScriptTable entity 
Valid entity table containing flock. 
int nPercent 
In range 0 to 100, 0 mean no boids will be rendered,if 100 then all boids will be rendered. 

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.