Forum Jump :

Author Message


Posts: 1589
Rank:


Level: Member

Country: pf
Location: Tahiti
Occupation: too many Arma
Age: 60
In-game name: Kobayashi Maru

 
#186333 Posted at 2016-02-09 17:18        
     
Use also random for all you want!
I generally randomize my groups: nbr of units, type of units, even skills (in a slot).
Prepare your group in an array: for "_i" from 1 to whatYouwant do {[] pushback (type of unit randomized)}
then this array in spawnGroup
Same for waypoints: an array, then pick them with arrays_of_waypoints select floor random (count array_of_waypoints).
(a new dev command: selectRandom , will be issued next stable version).

But the main challenge, when filling a town, is that you dramatically drop down FPS with all these units/objects!
So, have on mind a way to spawn /de-spawn units along with player(s) distance(s).

This post was edited by Pierre MGI (2016-02-09 17:34, ago)

PLEASE CONTACT ME ON BI FORUMS FOR ANY SCRIPT / MOD QUESTION. TKS





Tags: At, Fill, Help, How, Need, Some, To