| 01-09-2009, 09:52 PM | #1 |
Should be working, but it isnt... sucks...i hope its because im missing something Trigger: Mass Hysteria
![]() Conditions
|
| 01-09-2009, 09:57 PM | #2 |
Try copying your actual trigger (copy as text option) and paste it in [trigger] tags. |
| 01-09-2009, 11:52 PM | #3 |
Displayed the trigger properly... cool feature... |
| 01-10-2009, 12:09 AM | #4 |
How is it 'not working', are the units not attacking units? Because they might be picked unattackable units. Edit: OH DUH, its this line right here Trigger: Unit Group - Pick every unit in (Units in (Playable map area) matching (((Picked unit) has buff Mass Hysteria ) Equal to True)) and do (Actions)Trigger: Unit Group - Pick every unit in (Units in (Playable map area) matching (((Unit Being Matched) has buff Mass Hysteria ) Equal to True)) and do (Actions)Because the 'Picked Unit' isn't set until after the Unit Group line is evaluated. For any comparisons within that like you'll have to use 'Unit Being Matched' (or something to that degree) because that refers to the unit that is being compared in the condition, hence "matching ..." |
| 01-10-2009, 01:38 AM | #5 |
Good to know, thank you for the help EDIT: The ability appears to be working |
| 01-10-2009, 09:26 AM | #6 | |
Quote:
|
| 01-10-2009, 09:44 AM | #7 | |
Quote:
Naturally, there are lots of easier ways to do this, actions which are triggered as the spell is cast and end when the spell does, etc; The OTHER effects involved do not, unfortunately, afford much leniency. the whole spell is a mess, but it does that job, its easier and im not completely sure how else i would do it |
| 01-10-2009, 03:39 PM | #8 |
JASS > GUI except when laziness / speed is an issue. |
| 01-10-2009, 05:24 PM | #9 |
This code also have many nested for group calls, this is very hard hit for map stability. |
