Hi, I'm trying to make a simple script that will spawn an ammo crate at a few different empty markers.
I'm trying to exec it via init.sqf and it doesn't seem to be working. I'm not exactly sure what I'm doing in the first place though :X I've even searched a lot on the forums for this, but I can't seem to find exactly what I'm looking for.Code:_cacheSpawn = true; while {_cacheSpawn} do { _num=(ceil(Random 2)); if (_num==0) then {_cache = "GuerillaCacheBox_EP1" createVehicle getMarkerPos "mark1"} if (_num==1) then {_cache = "GuerillaCacheBox_EP1" createVehicle getMarkerPos "mark2"}; if (_num==2) then {_cache = "GuerillaCacheBox_EP1" createVehicle getMarkerPos "mark3"}; };
HOME
Reply With Quote
MadDogX

e-mail
RSS
Twitter