Jump to content
Sign in to follow this  
-ami- mofo

simple spawn script not working

Recommended Posts

hi all I got this script from (I forget) when the game was in beta and it worked but now it's not working.

trigger, activated by blufor with

null0 = this execVM "scripts\spawn1.sqf";

a marker called 'spawn1'

.sqf file in my scripts folder with

GroupOne_X = [getMarkerPos "spawn1", EAST, ["O_Soldier_F", "O_Soldier_F"]] call BIS_fnc_spawnGroup; 
{_x allowFleeing 0} forEach units GroupOne_X; 
mrapSpawn = [getMarkerPos "spawn1", 0, "O_MRAP_02_hmg_F", EAST] call bis_fnc_spawnvehicle; 
MRAP = mrapSpawn select 0; 
MRAPcrew = mrapSpawn select 1; 
MRAPgroup = mrapSpawn select 2; 
{_x allowFleeing 0} forEach units MRAPgroup; 

Any ideas as to why it's not working? I'm not a scripter so I honestly don't know. I did check to see if the class names were still correct though and they are.

Thanks.

Share this post


Link to post
Share on other sites

Maybe try using createVehicle instead of BIS_fnc_spawnvehicle? I don't use fncs that much so I'm not sure.

Share this post


Link to post
Share on other sites

Hey mate didn't work, thanks anyway.

---------- Post added at 11:40 AM ---------- Previous post was at 11:35 AM ----------

Got it...

Trigger should read....

_null = [] execVM "scripts\spawn1.sqf";

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×