Login  Register

Re: RELEASE: DaiZy Napf 1.7.7 (Colab with Haleks!) v1.9 *18/06* FULLY WORKING!

Posted by Haleks on Jun 20, 2013; 12:27pm
URL: http://kodabar-dayz-daizy-single-player-forum.163.s1.nabble.com/RELEASE-DaiZy-Napf-1-7-7-1-Colab-with-Haleks-v2-2-01-07-tp8730p9370.html

Havoc wrote
Hey Above!

Have you found out what causes triggers to always spawn the maximum of 8 bandits?
If so could you please tell me? :D I'd like to modify Factions and 2017 do to the same.
/me needs more bandits to kill ^.^
The files for the AI are in scripts\mission\fnc; look for the dosomething_x files.
Most of those files begin with this line :
    for "_i" from 0 to 7 do {
But that function isn't random; it just tells the script how many times it should repeat.
If you want a random number of bandits, do it like in my DoSomething_banditSquad.sqf.
Something like :
        _num = 3 + random 3;
        for "_i" from 0 to _num do {
Wich will give you 7 bandits max (the 0 is considered as an occurence).

EDIT : ninjad! ^^