RANDOM PATHS FOR NAVAL OR A/C TO reference points IN EDITOR

Post new mods and scenarios here.

Moderator: MOD_Command

Post Reply
BillSirKill
Posts: 66
Joined: Tue Jul 16, 2013 2:38 am

RANDOM PATHS FOR NAVAL OR A/C TO reference points IN EDITOR

Post by BillSirKill »

Hi All,
Here's the basics to the question: (In the editor)
1. Start of game teleport of a unit (naval or aircraft) to a zone (defined area).
2. Set random path to either reference point or a defined area from that teleported .

I want to launch a naval unit from point A (which is the teleport on start of game).
This Naval unit is to bombard a land unit.
I want a random path to the launch area.

How do I set up a random path once the unit is teleported to a defined area?

Thanks for the help
Bill
User avatar
Gunner98
Posts: 5965
Joined: Fri Apr 29, 2005 12:49 am
Location: The Great White North!
Contact:

RE: RANDOM PATHS FOR NAVAL OR A/C TO reference points IN EDITOR

Post by Gunner98 »

If you assign it to a mission (the bombardment area) and the path editor will pick a path. It will be direct but to random spot within the destination area.

B
Check out our novel, Northern Fury: H-Hour!: http://northernfury.us/
And our blog: http://northernfury.us/blog/post2/
Twitter: @NorthernFury94 or Facebook https://www.facebook.com/northernfury/
BillSirKill
Posts: 66
Joined: Tue Jul 16, 2013 2:38 am

RE: RANDOM PATHS FOR NAVAL OR A/C TO reference points IN EDITOR

Post by BillSirKill »

Gunner - Thanks...
User avatar
michaelm75au
Posts: 12457
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: RANDOM PATHS FOR NAVAL OR A/C TO reference points IN EDITOR

Post by michaelm75au »

You can also build a course as a Lua table and add it to the unit .

unit.course = { {LONGITUDE='...', LATITUDE='...'}, {LONGITUDE='...', LATITUDE='...'}, ... }
Michael
Post Reply

Return to “Mods and Scenarios”