After searching the forums for several hours last night and this morning and finding nothing that helps (this thread is the closest ive been able to find) i was hoping someone could give me a nudge in the right direction.
I made a sp mission where im taking a city from insurgents. I have chopper support, but sometimes one or more of my choppers gets shot down.
My question is this: when a chopper gets shot down i want to make an objective that shows the pos of the chopper and tells me to check the wreckage for survivors. I also want it when i reach the crash site to check off the objective as complete. As the crash site will always be dynamic, i have no idea how to do it in a trigger.
Any help code wise or pointing me to the right thread (i thought a few hours searching here and at armaholic would be enough) will be greatly appreciated.
------EDIT------
found a way to do it for SP in case anyone is interested.
as for the crash site location, i made a trigger with the ((!alive heli1)) condition and had it create a task. instead of using getMarkerPos in the task destination i used getPos "heli1". that created a marker on the map of the site.
I made a second trigger and named it triggerheli1, grouped it to my player, opened the trigger again and set the radius to 10 and set the activation type from vehicle (which it shows when you group the trigger to your player) to "any team member" then put a task SUCCEEDED in the activation field. then in my heli1 init field i put triggerheli1 attachTo[heli1, [0,0,0]];
so now if a chopper gets shot down, a task gets created showing me the location of the crash site, and if myself or any of my team members gets within 10m of it the task will be completed.
hope this helps someone
cheers