| 01-16-2003, 12:43 PM | #1 |
Guest | I know there is a way to run a trigger with another one. What i would like is: if my trigger A launch B could i give B an argument (a unit, or anything else) without stoking it a tmp variable, but giving it directly. Thank you. |
| 01-17-2003, 02:37 AM | #2 |
I know what you're saying, and it's totally unnecessary :D If you do something like unit group all units and run trigger blah Then Picked Unit still works in that trigger. Nifty eh? I'm not sure if triggering unit will work across an if, but it might. If you really need to pass arguments even then though, then I'd convert to JASS and make it two different functions so you can really do argument passing and such. |
| 01-17-2003, 07:43 AM | #3 |
Guest | Yeah, i thought to convert trigger to Jass, but it is only to make my code cleaner and shorter... So i still don't want to use Jass for now, but i think i'll must go in it some days. (in particulary if i want to modify some heroes attibutes in game as speed of attack, etc ...). |
