HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Unit begins training a unit problem HELP!

12-10-2003, 06:28 PM#1
Sen
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
Earth Fury
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
Sen
Quote:
Originally posted by Earth Fury
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.


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
Panto
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
Sen
Quote:
Originally posted by Panto
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.


Thanks that should do it =)