Trying to get these .sqf files to run without consequences

Saethkept

Well-Known Member
I have been experimenting with Joikd's excellent zombie spawn modification code, found here in post number 17: http://opendayz.net/threads/trying-to-change-zombie-spawns-from-spawn-to-call.6703/

The code works great ... on the Taviana server where I've been testing it, I've managed to have over 1000 zombies spawn around me, and have them spawn several hundred meters ahead of my arrival to Lypestock.

What I am having problems with, is how to write an appropriate code hook to execute the two .sqf files from the aforementioned post, and where to place them in my server mission init.sqf file. I've run as fnc_usec_selfActions = compile preprocessFileLineNumbers "fixes\filename.sqf"; and the result has been the loss of all other player self actions. I have also tried running them as filename = compile preprocessFileLineNumbers "fixes\filename.sqf"; but doing that causes loot to stop spawning.

Any help would be greatly appreciated.
 
Back
Top