Anything you put in the event gets performed EVERY time a system is created.
That is so cool.
I just got done converting the Stargates to be placed entirely by script in a single <OnGlobalSystemCreated> event. Whenever a system is created, the event fires my script which goes and asks the topology how many gates I need and where they are supposed to go. Now I have the freedom to design networks without worrying about the right number of gates being added.
George, you should really make a way around the Debug gate getting thrown into the lists, btw.
And the gate that goes to EndGame doesn't have a destGate so that threw my function off in the sample topology. Thanks for putting dbgLog and better error catching in, it helped get things fixed up in no time!
Yes, happy day! Dynamic gate placement based on actual topology data rather than system definition and guesswork for every system in the game from a single global event.

Now I just need to get the placement performing better!
I wonder what else <OnGlobalSystemCreated> will be doing for me. hehehehe..er, make that- muwahahaa!