Jump to content

Set Route / Waypoints for a Naval Unit


Kyridious

Recommended Posts

Hi Folks, Does anyone have a code example for setting the route / waypoints for naval units using LUA? I need to spawn a ship and make it travel to a dynamic destination. Normal methods for AIR/LAND units don't seem to be working for me.

 

I generally use MOOSE, but am willing to entertain alternatives. Cheers!

Link to comment
Share on other sites

So a simple

CONTROLLABLE:TaskRouteToZone(Zone, Randomize, Speed, Formation)

would not do it?

A warrior's mission is to foster the success of others.

i9-12900K | MSI RTX 3080Ti Suprim X | 128 GB Ram 3200 MHz DDR-4 | MSI MPG Edge Z690 | Samung EVO 980 Pro SSD | Virpil Stick, Throttle and Collective | MFG Crosswind | HP Reverb G2

RAT - On the Range - Rescue Helo - Recovery Tanker - Warehouse - Airboss

Link to comment
Share on other sites

Hi Folks, Does anyone have a code example for setting the route / waypoints for naval units using LUA? I need to spawn a ship and make it travel to a dynamic destination. Normal methods for AIR/LAND units don't seem to be working for me.

 

I generally use MOOSE, but am willing to entertain alternatives. Cheers!

 

Pls check the answer of funkyfranky. If you have further questions, just post or send me a PM.

 

Thanks for using the framework! Sven

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

Link to comment
Share on other sites

  • Recently Browsing   0 members

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