Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
lockjaw-65-

Spawn group with map click option

Recommended Posts

I have searched for this but have found very little help. I am wanting to call for a support group by a radio trigger during a mission. In this group I want there to be also a few assault vehicles etc. I dont want the group to join my squad instead I want to be able to map click an area which the group will then attack.

I can do the trigger and spawn a group its just doing the map click part im having trouble with, any help would be great thanks....

Share this post


Link to post
Share on other sites

Hi man... something like this maybe.

MapClicked = false;
onMapSingleClick {nul = [_something] execVM "somescript.sqf"; MapClicked = true};
waituntil {MapClicked};
MapClicked = false;   //reset the variable for if you want to do it again

Share this post


Link to post
Share on other sites

Hi thanks for your input, I have been very busy with work so i have only just noticed this. So where do I put that code! in the radio trigger, script I have tried all ways but I cannot get it to work. I have looked in Mr murrays editor guide but same again I cannot make it work

Share this post


Link to post
Share on other sites
Sign in to follow this  

×