[MOOSE] RAT - Random Air Traffic - Page 42 - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 06-24-2019, 07:55 PM   #411
davebert
Member
 
Join Date: May 2010
Location: Florida
Posts: 242
Default

Quote:
Originally Posted by funkyfranky View Post
I might be, that the actual spawn command is a bit delayed. Then the array/table with the defined liveries would already be initialized when the spawn happens. But if you want to be safe, you should put the line with the liveries (or other options) before the spawn line. But hey, whatever works

Yeah, I was thinking there may have been a delay before the actual spawning too, but it was working. I will strive to do it correct now, and in the future. Thanks for clearing this up for us.
davebert is offline   Reply With Quote
Old 06-24-2019, 09:17 PM   #412
JanK
Junior Member
 
Join Date: Jan 2019
Location: Norway
Posts: 75
Default

OK you guys confuse the hell out of an old man

But got it working at last, thank you all for help

Spoiler:
local A320skins={"Aeroflot", "Aeroflot 1", "Air Asia", "Air Berlin", "Air Berlin FFO", "Air Berlin OLT", "Air Berlin retro", "Air France", "Air Moldova", "Airbus Neo", "Al Maha", "Alitalia", "American Airlines", "British Airways", "Cebu Pacific", "Clean", "Condor", "Delta Airlines", "Easy Jet","Easy Jet Berlin","Easy Jet w", "Edelweiss", "Emirates", "Etihad", "Eurowings", "Eurowings BVB09", "Eurowings Europa Park", "Fly Georgia", "Fly Niki", "Frontier", "German Wings", "Gulf Air", "Iberia", "Iran Air", "Jet Blue NY", "JetBlue", "jetBlue FDNY", "Kish Air", "Kuwait Airways", "Lufthansa", "Lufthansa New", "MEA", "Qatar", "S7", "SAS", "Saudi Gulf", "Saudi", "Small Planet", "Star Alliance", "SWISS", "Thomas Cook", "Tunis Air", "Turkish Airlines", "United", "Ural Airlines", "US Airways", "Vietnam Airlines", "Virgin", "WiZZ", "WiZZ Budapest", "WOW"}
local cessnaskins={"D-EKVW", "HellenicAF", "Muster", "N9672H", "SEagle_blue", "SEagle_red", "USAF-Academy", "V5-BUG", "VH-JGA"}

local F14B=RAT:New("RAT_F14B")
local A320=RAT:New("RAT_A320")
local B747=RAT:New("RAT_747")
local C130=RAT:New("RAT_C130")
local cessna=RAT:New("RAT_Cessna")

A320:Livery(A320skins)
cessna:Livery(cessnaskins)

F14B:Spawn(2)
A320:Spawn(5)
B747:Spawn(1)
C130:Spawn(2)
cessna:Spawn(5)
JanK is offline   Reply With Quote
Old 06-25-2019, 04:20 PM   #413
davebert
Member
 
Join Date: May 2010
Location: Florida
Posts: 242
Default

Quote:
Originally Posted by JanK View Post
OK you guys confuse the hell out of an old man

But got it working at last, thank you all for help

Spoiler:
local A320skins={"Aeroflot", "Aeroflot 1", "Air Asia", "Air Berlin", "Air Berlin FFO", "Air Berlin OLT", "Air Berlin retro", "Air France", "Air Moldova", "Airbus Neo", "Al Maha", "Alitalia", "American Airlines", "British Airways", "Cebu Pacific", "Clean", "Condor", "Delta Airlines", "Easy Jet","Easy Jet Berlin","Easy Jet w", "Edelweiss", "Emirates", "Etihad", "Eurowings", "Eurowings BVB09", "Eurowings Europa Park", "Fly Georgia", "Fly Niki", "Frontier", "German Wings", "Gulf Air", "Iberia", "Iran Air", "Jet Blue NY", "JetBlue", "jetBlue FDNY", "Kish Air", "Kuwait Airways", "Lufthansa", "Lufthansa New", "MEA", "Qatar", "S7", "SAS", "Saudi Gulf", "Saudi", "Small Planet", "Star Alliance", "SWISS", "Thomas Cook", "Tunis Air", "Turkish Airlines", "United", "Ural Airlines", "US Airways", "Vietnam Airlines", "Virgin", "WiZZ", "WiZZ Budapest", "WOW"}
local cessnaskins={"D-EKVW", "HellenicAF", "Muster", "N9672H", "SEagle_blue", "SEagle_red", "USAF-Academy", "V5-BUG", "VH-JGA"}

local F14B=RAT:New("RAT_F14B")
local A320=RAT:New("RAT_A320")
local B747=RAT:New("RAT_747")
local C130=RAT:New("RAT_C130")
local cessna=RAT:New("RAT_Cessna")

A320:Livery(A320skins)
cessna:Livery(cessnaskins)

F14B:Spawn(2)
A320:Spawn(5)
B747:Spawn(1)
C130:Spawn(2)
cessna:Spawn(5)

Glad to hear you got it sorted and thanks for reporting back with your results. And being confused makes you smarter.

davebert is offline   Reply With Quote
Old 06-26-2019, 05:54 PM   #414
JanK
Junior Member
 
Join Date: Jan 2019
Location: Norway
Posts: 75
Default

Quote:
And being confused makes you smarter.
Then i should have an iq on about 312
JanK is offline   Reply With Quote
Reply

Tags
moose, random air traffic, rat

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 01:16 PM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.