Roadrunner Posted November 26, 2013 Posted November 26, 2013 hi guys, i just dont know where i can look up a list of functions that can be used in the editor, so i ask here. My thoughts are based on the fact, that aircrafts only spawn, when a players enters them, so for most of the time an airfield will be realy empty. my idea so far would be to place static aircrafts on the parking positions, exactly where a human controlled aircraft will spawn. when one enters an aircraft, the script shall check for the according parkingposition and remove the static aircraft just before the client aircraft spawns. i.e. Names: static_huey_01, client_huey_01 pseudoscript: if(player_takes_controll(client_huey_01)){ unit_despawn(static_huey_01); } does anyone have an idea what names those functions may have, and how to do it maybe? regards & thanks, Roadrunner [sIGPIC][/sIGPIC] "There's nothing to be gained by second guessing yourself. You can't remake the past, so look ahead... or risk being left behind." Noli Timere Messorem "No matter how fast light travels, it finds the darkness has always been there first, and is waiting for it." Terry Pratchett
number3 Posted November 26, 2013 Posted November 26, 2013 You could just spawn static aircraft in parking spots where client aircraft won't spawn, to make the airport busy. Instead of replacing/destroying the static aircraft just before the client aircraft spawns. I can't help directly but can point you in some direction http://wiki.hoggit.us/view/Part_1#coalition and http://wiki.hoggit.us/view/Part_2#Object might give you some ideas. 314-я смешанная авиационная дивизия 314th Mixed Aviation Division: The "Fighting Lemmings"- Forums: http://314thsquadron.enjin.com/ - ED Forum Group: http://forums.eagle.ru/group.php?groupid=119
Roadrunner Posted November 27, 2013 Author Posted November 27, 2013 thanks for the info, will have a look at those pages. regards, RR [sIGPIC][/sIGPIC] "There's nothing to be gained by second guessing yourself. You can't remake the past, so look ahead... or risk being left behind." Noli Timere Messorem "No matter how fast light travels, it finds the darkness has always been there first, and is waiting for it." Terry Pratchett
Zayets Posted November 27, 2013 Posted November 27, 2013 I think it is going to be a bit difficult because I am not sure you can get the parking spot for a static plane. I may be wrong on this one. It will probably involve some trigger zones and then use an event type like ON_TAKE_CONTROL. [sIGPIC]OK[/sIGPIC]
Recommended Posts