| 08-24-2006, 12:17 PM | #2 |
Erm, no not actually, its just the opposite - triggering unit is the only event response that stays after waits. |
| 08-24-2006, 12:19 PM | #3 |
the only? noway. Alot stay. Just not things like "GetSpellAbilityUnit()" |
| 08-24-2006, 12:22 PM | #4 |
Really? My test result is that none of them stays. I had to use a local. Logically... things from blizzard.j will not stay for sure, but I don't know if things from common.j stay. |
| 08-24-2006, 12:24 PM | #5 |
GetTriggeringTrigger stays, GetTriggerPlayer stays, GetDyingUnit, GetEnteringUnit etc etc. Those all stay (at least.. ithink so) |
| 08-24-2006, 12:34 PM | #6 |
Ugh, dunno, Daelin said so... |
| 08-24-2006, 12:40 PM | #7 |
I actually think that the only event responses that don't survive waits are the spell ones. |
| 08-24-2006, 12:43 PM | #8 |
Ok thanks alot guys, I don't think my trigger is going to work right, as there are alot of local variable refrences in different functions, so I'd have to redeclare the variable too many times. |
| 08-25-2006, 04:03 AM | #9 |
What you've written won't work unless you use an editor hack to remove the udg_ prefix. It still won't work right though, there are a couple different problems with trying to lexically scope multiple variables in JASS that pretty much make it not worth the hassle. Take the one day or so it takes to get the hang of JASS. Your map will thank you. |
| 08-25-2006, 05:43 AM | #10 |
I sorta understand JASS, its the tons of If Thens Elses that seriously screw me up. I found an easier way to so this anyways. Thanks guys. |
