Horner 13 Posted May 10, 2012 Hi all. Well I've got this script that spawns a a group of 4 US Army Soldiers and I want them to use UPSMON. I have this for my spawning script. _spawn = 1; if (_spawn == 1) then { _group = [getPos dyna, WEST, ["US_Soldier_TL_EP1", "US_Soldier_EP1", "US_Soldier_GL_EP1", "US_Soldier_AR_EP1"],[],[],[],[],[],180] call BIS_fnc_spawnGroup; }; So the group's variable name is _group. I want them to execute this line for UPSMON. nul=[this,"1"] execVM "scripts\upsmon.sqf"; So I want them to patrol around a marker that has the variable name "1". Kind of a noobish question but I'm having troubles finding the answer. Thanks in advance! Share this post Link to post Share on other sites
fencr0c 10 Posted May 10, 2012 Not at my computer at the moment, but its something like this: [leader _group,"1","SPAWNED"] execVM "scripts\upsmon.sqf" Add this after your call to BIS_fnc_spawnGroup. Share this post Link to post Share on other sites
Horner 13 Posted May 10, 2012 It worked! Thank you. Share this post Link to post Share on other sites