I have a question, hopefully someone can point out where I'm going wrong.
I'm trying to spawn helo's at airbases using TerminalType.HelicopterOnly. I have CH47's and UH60's set up, but:
They only ever seem to spawn at parking spots for planes.
The CH47 and UH60 both start up and then slowly taxi from their parking spot to the runway before taking off.
Using HelicopterOnly results in error messages saying "No valid destination airport could be found for XXXXXX" and helo's will not spawn.
Using HelicopterUsable results in groups spawning, but not on helo parking spots, and often on parking spots occupied by other aircraft.
I'm using the Persian Gulf map, blue airfields set to Liwa, Al Dhafra and Al Minhad.
Code for script below.
local CH47D=RAT:New("RAT_CH47D")
CH47D:SetCoalitionAircraft("blue")
CH47D:SetCoalition("sameonly")
CH47D:SetTerminalType(AIRBASE.TerminalType.HelicopterOnly)
CH47D:ContinueJourney()
CH47D:ATC_Messages(false)
local UH60A=RAT:New("RAT_UH60A")
UH60A:SetCoalitionAircraft("blue")
UH60A:SetCoalition("sameonly")
UH60A:SetTerminalType(AIRBASE.TerminalType.HelicopterOnly)
UH60A:ContinueJourney()
UH60A:ATC_Messages(false)
CH47D:Spawn(4)
UH60A:Spawn(4)
Thanks in advance to anyone who can point out what I've done wrong! :doh: