Re: RELEASE: DaiZy Chernarus 1.7.6.1 FACTIONS 2.1 [06/07 FINAL RELEASE]

Posted by Haleks on
URL: http://kodabar-dayz-daizy-single-player-forum.163.s1.nabble.com/RELEASE-DaiZy-Chernarus-1-7-6-1-FACTIONS-2-1-07-11-FINAL-RELEASE-tp4144p8217.html

Nabu wrote
ok it works perfectly, and i found the fnc folder. so the sqf i can open with for example word pad? and in which of them do i have to add the line? thx in advance
The sqf files can be opened with any basic text editor. You'll have to modify the following ones :
doSomething_bandits.sqf, doSomething_banditSquad.sqf, doSomething_banditstwo.sqf and doSomething_survivor.sqf (as well as the "respawn_survivor" file!).

Now add this line :
                _unit addEventHandler ["Killed",{_this call fnc_spawn_deathFlies;}];
under this line :
                _unit addEventHandler ["HandleDamage",{_this call local_zombieDamage;}];
Note that the banditsquad sequence uses several units : unit, unit1 and unit2. Don't forget to modify the new line accordingly.
You'll also want to modify the doSomething_helis file if you want to add the death flies to the choppers' crew as well.