So I have bunkers that can train marines, and basically I want it so the instant they are trained they are placed in the bunker. Problem is I don't know how to reference the unit thats what trained the marine (the bunker). I can only find "Created Unit" and not anything like "Unit Creator". Triggering unit doesn't work.
Basically the trigger needs to be...
Event: Unit is created
Condition: Unit trainer is equal to Bunker
Action: Order created unit to load into Unit Trainer (Bunker)
I'm very new to the galaxy editor and tbh I absolutely hate how the data editor is setup, I'm used to the wc3 editor. I'd just assume do it through triggers.
Well, like you found out, I don't believe there is a way through triggers. I understand your fear of the data editor, but it really isn't all that bad once you start getting an understanding of it. Data is also a better solution to most problems, as its much less processor and network intensive. Whatever method you choose to use, good luck.
So I have bunkers that can train marines, and basically I want it so the instant they are trained they are placed in the bunker. Problem is I don't know how to reference the unit thats what trained the marine (the bunker). I can only find "Created Unit" and not anything like "Unit Creator". Triggering unit doesn't work.
Basically the trigger needs to be...
Event: Unit is created
Condition: Unit trainer is equal to Bunker
Action: Order created unit to load into Unit Trainer (Bunker)
This thread has an example map that does exactly what you need, but through data. No triggers needed.
I'm very new to the galaxy editor and tbh I absolutely hate how the data editor is setup, I'm used to the wc3 editor. I'd just assume do it through triggers.
@Kangaroux: Go
Well, like you found out, I don't believe there is a way through triggers. I understand your fear of the data editor, but it really isn't all that bad once you start getting an understanding of it. Data is also a better solution to most problems, as its much less processor and network intensive. Whatever method you choose to use, good luck.
Unit uses ability. Then get triggering unit. The ability is whatever is used to train the marine.