Polymath820 11 Posted January 29, 2014 (edited) 1. How do I get a function to run? 2. How do I correctly compile a piece of code? Because this code: screwed = { _null = _this _CreateBAmbient = createGroup west; _getMarkerPosition = markerPos "FormVehAnchor1"; for [{_i=0},{_i<=3},{_i=_i+1}] do { _UnitsObj = createVehicle ["B_Heli_Transport_01_camo_F",_getMarkerPosition,"",0,"FLY"]; }; }; does not work even if I have in the init.sqf: _fnc = Compile preprocessFileLineNumbers "AmbientHelicopter.sqf"; it won't run the script when I call the "screwed" function at all it just says "undefined variable"; 3. How do I use the preprocessFileLineNumbers 4. Does arma 3 ever get code "ghosts" or "ghosts in the machine" from repeated running of a script? 5. Is there anyway to destroy a sound after it has been created on a playSound3D position? When a vehicle gets destroyed? Edited January 29, 2014 by Polymath820 Share this post Link to post Share on other sites