OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: wacko on 09 Mar 2009, 15:53:43

Title: mutli airfields
Post by: wacko on 09 Mar 2009, 15:53:43
hello everyone

Ok I've been trying to figure this out for days now, and i think ive gotten it narrowed down to this code here can be found in Client/GUI/GUI_Factory

Code: [Select]
if (Call Compile Format["_type != %1AIRPORTTYPE",sideJoinedText]) then {Goto "InitFactory"};

_name = "WingedAircraft"
_menuName = Localize "STRWFAIRPORT";
Goto "InitStats"

now my question is is this code made for multi hangers? i dont think it is. and is there a way to redo it so more than one hanger can be used. i am working off of WACO v117 ive talked to the maker there but at the end of my rope with that. so anyone here got any ideas?

Tanks
WaCkO
Title: Re: mutli airfields
Post by: Worldeater on 09 Mar 2009, 16:24:28
Yes. Looks like the code (in Server_UpdateAirport.sqs, GUI_Factory.sqs, Action_Airport.sqs, etc.) is written to support multiple airports. All you need are new entries in the stringtable.csv (just like the already existing "STRWFNORTHAIRPORT").