Jump to content

addGroup - how to make them SPAWN on the RAMP?


Recommended Posts

Posted (edited)

Do I just give their starting x, y and alt as the CENTRE POINT of the AIRBASE and will the backend put the aircraft type in the right parking spot or do I have to do this manually for each unit in the group(s)?

 

Edited by Elphaba
  • TEMPEST.114 changed the title to addGroup - how to make them SPAWN on the RAMP?
Posted

Route needs the airdrome value and a type of takeoff from ramp. Then if you want them to spawn at specific parking spots set the parkingId for each unit. It will auto assign the spots if the parkingId is missing. Sometimes you can make it violate the rules for a given parking space by forcing an id. For instance spawning a B-52 inside a hangar meant for a fighter. Auto should follow the rules and never spawn aircraft on top of each other at the cost it possibly being a less than ideal starting location. Before you ask, no, there is no scripting function that gives useful information on the size limits of each parking spot at a given base. Assumptions based on terminal type from getParking can be more relied upon on Caucuses, but other maps not so much. 

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
37 minutes ago, Grimes said:

Route needs the airdrome value and a type of takeoff from ramp. Then if you want them to spawn at specific parking spots set the parkingId for each unit. It will auto assign the spots if the parkingId is missing. Sometimes you can make it violate the rules for a given parking space by forcing an id. For instance spawning a B-52 inside a hangar meant for a fighter. Auto should follow the rules and never spawn aircraft on top of each other at the cost it possibly being a less than ideal starting location. Before you ask, no, there is no scripting function that gives useful information on the size limits of each parking spot at a given base. Assumptions based on terminal type from getParking can be more relied upon on Caucuses, but other maps not so much. 

Thanks for your help.

  • Recently Browsing   0 members

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