| 06-17-2006, 04:02 AM | #1 |
I have been trying to find a way to use variables in GUI triggers that use the current spell level, but i end up having to add an integer with a real which doesnt work. Just as an example: (not actual trigger) Event: When a unit begins casting a spell. Conditions: Spell is equal to Time Warp Actions: Set TWLvl to ((Level of Time Warp) for triggering unit) Wait (TWLvL x 5) Whatever I want Time Warp to do.... |
| 06-17-2006, 02:37 PM | #3 |
Yeah, the only problem is, I don't know any JASS whatsoever. Anyone know a GUI fix to this problem? |
| 06-17-2006, 09:21 PM | #4 |
first of all i suggest that you use starts the effect of an ability and casting unit instead of triggering unit. also i always had problems when i tried to use wait for a variable...never worked. i had to write a if..then for every level i had. a bit messy but it worked fine. |
| 06-17-2006, 09:27 PM | #5 |
| 06-17-2006, 10:07 PM | #6 | |
Quote:
Thanks a ton, this is exactly what I was looking for! Now all i have to do is take that 4 trigger spell i made for my friends and make it into one trigger! +rep! Edited by Blade.dk. Reason: Removed the images from the quote, they are in the post above and they are huge. |
| 06-17-2006, 10:19 PM | #7 | |
Quote:
|
