| 12-10-2003, 06:28 PM | #1 |
For the event Unit begins training a unit, what scoped variables does it assign to? It doesn't seem there is a way to get the unit that started the training or the unit/unit type that is being trained. Any help? Is there a list that says which events register which scoped variables? Or a way to find out? I already search the .j files but it all ties into a native function which I think is defined in compiled code. |
| 12-10-2003, 06:30 PM | #2 |
the jass specifications for the event 'unti starts/finishes tranign a unit' dosent specify the unit tranign a unti has to be a bulding, thus those should work. and event response - trained unit SHOULD be there. |
| 12-10-2003, 07:05 PM | #3 | |
Quote:
What do you mean "those" should work? What are you referring to? And where can you see a JASS specification for anything? I mean other than from that one independent site from the guy who wrote JASS syntax checker. From Blizzard somewhere? I havn't seen it. Trained unit says specifically that it works for a unit finishes training, but nothing else. I'll try it anyways. |
| 12-10-2003, 09:13 PM | #4 |
Unfortunately, I don't have the time to go back and remember what I did, but this is a link to a trigger that I wrote to simulate an "Active" animation for a building, and it involves Training. |
| 12-10-2003, 09:55 PM | #5 | |
Quote:
Thanks that should do it =) |
