Jump to content

Recommended Posts

good afternoon guys, hug everyone, I come here to see if you can help me, I'm trying to create a waypoint to an SDV, that while doing so, it is submerged at a specific depth, I have put it this way, and I have added the following parameter, but this has not worked, I do not know what I could be doing wrong

 

_wp = group enemi_5 addWaypoint [ getPos enemi_10, 1000];  

[ group enemi_5, 1] setWaypointType "move"; 

[ group enemi_5, 1] setWaypointSpeed "FULL"; 

 

Sleep 1;

 

enemi_5 swimInDepth -60; 

 

but apparently ignores the swimInDepth command and navigates on the surface.

 

 

and another question I would like to ask is also how to do it on a mobile dialer in multiplayer, it works properly in a player but in multiplayer the initial position of the marker and when moving the new position and then the initial position, and when changing position shows the two positions the current and the initial several times.

 

[] Spawn {

while{not isnull muni_1} do {"Marker_Heli1" setmarkerpos getpos muni_1; sleep 0.5;};

};

 

thanks for your help

Share this post


Link to post
Share on other sites

works for me

	_wp0 = enemi_5 addWaypoint [[2411.95,6372.01,-20], 20];
	_wp0 setWaypointType "MOVE"; 
	_wp0 setWaypointSpeed "FULL";
	_wp1 = enemi_5 addWaypoint [[650.152,5806.66,-50], 20];
	_wp1 setWaypointType "MOVE"; 
	_wp1 setWaypointSpeed "FULL";
0 = [] spawn {

	while {alive muni_1} do {

		"Marker_Heli1" setMarkerDir (getDir muni_1);
		"Marker_Heli1" setMarkerPos (getpos muni_1);
		sleep 0.1;
	};

};

 

  • Thanks 2

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

×