Jump to content

Waypoints not showing up for Client with Route created using MOOSE


Recommended Posts

Posted

Hello All,

Looking for a bit of help in understanding how to assign routes/waypoints for clients.

 

I am attempting to dynamically spawn a unit, get it's coordinates, and then direct the client aircraft via it's waypoint system to the spawned unit.

 

I have tried this:

playerGroup:RouteAirTo (enemyGround:GetCoordinate(), POINT_VEC3.RoutePointAltType.BARO, POINT_VEC3.RoutePointType.TurningPoint, POINT_VEC3.RoutePointAction.TurningPoint, 450, 5 )

 

and this:

local attackTask = playerGroup:TaskAttackGroup( enemyGround )
playerGroup:PushTask(attackTask, 1)

 

and finally this:

attackCoord = enemyGround:GetCoordinate()
attackWaypoint = attackCoord:WaypointAirFlyOverPoint( COORDINATE.WaypointAltType.BARO, 333 )
playerGroup:Route( { attackWaypoint }, 1 )	

 

Jumping into an A-10C client and spawning the enemy unit (via Radio Menu) results in no new waypoints. Doing the above with AI units worked. Is this possible? If so, any guidance?

 

All input welcome!

thanks,

~Thump.

 

Computer Specs:

i7-6700K@4.00GHz, 32GB, 850 EVO 1TB, GTX 1080 Ti, Samsung Odyssey VR

[sIGPIC][/sIGPIC]

Posted

Client's cannot be modified by the scripting engine. This includes flight plan, routes, callsigns, location, etc. Best you can do is give them the information to create a new route on their own.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Posted

Afraid that might be the answer. Thanks for the confirmation.

~Thump.

 

Computer Specs:

i7-6700K@4.00GHz, 32GB, 850 EVO 1TB, GTX 1080 Ti, Samsung Odyssey VR

[sIGPIC][/sIGPIC]

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...