Jump to content
Sign in to follow this  
greenygh0st

Create a Underwater Task

Recommended Posts

So I am trying to set a task "waypoint" to be under water at a downed osprey wreck. For whatever reason the marker is always placed at the surface of the water.

So far I have tried this:

marker1 = createMarker ["Marker1", [(getPosASLW osprey select 0), (getPosASLW osprey select 1), (getPosASLW osprey select 2) - 20]];

...and this:

marker1 = createMarker ["Marker1", (getPosASLW osprey)];

Here is the task creation, which works fine minus the vertical position issue:

task1 = [(leader seals),"taskID1",["Retrieve Device.","Retrieve Device.","Retrieve Device."],marker1, true] call BIS_fnc_taskCreate;

Any ideas?

Share this post


Link to post
Share on other sites

Change -5 to whatever the depth of the osprey is.

task1 = [(leader seals),"taskID1",["Retrieve Device.","Retrieve Device.","Retrieve Device."],[color="#FF0000"][position osprey select 0, position osprey select 1, -5][/color], true] call BIS_fnc_taskCreate;

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  

×