| 02-23-2004, 12:28 AM | #1 |
Ok this is an extension of my earlier question about detecting units in a cone and adding them to a unit group for later effects. Using a modified breath of fire, this is my code: Unit - A unit Finishes casting an ability (Ability being cast) Equal to Wave of Terror (Custom 2) Unit Group - Pick every unit in (Units in (Playable map area) matching (((Matching unit) has buff Breath of Fire) Equal to True)) and do (Actions) Loop - Actions Game - Display to (All players) the text: DEBUG - Adding unit... Unit Group - Add (Picked unit) to WotGroup The above works fine if the unit has no other buffs. However, if they do have other buffs, it never picks the unit (i know because of my debug display text trigger). also, ive tried using AND functions to pick only the units who have all the buffs i want. that doestn work either, nobody ever gets picked even though they do have all the buffs. what is going on? please, this is a game stopping bug for me. i cant proceed until i am able to pick units hit by a breath of fire base spell, who also have other buffs on them. please help. |
| 02-23-2004, 12:58 AM | #2 |
Looking at it. I'll post again when I figure something out. I don't seem to be getting that problem... |
| 02-23-2004, 01:05 AM | #3 |
Hrmmm... Is there a way to choose if the unit contains this buff out of many buffs? I really don't know, it might even be a BUG... "( |
| 02-23-2004, 01:29 AM | #4 |
I don't see your problem... |
| 02-23-2004, 01:40 AM | #5 |
if you dont mind, could you take a look at this? before using the breath of fire spell, hit him with the sleep spell, and see what happens. nothing! then try without the sleep spell, and he gets added!!!! if you could see what im doing wrong... my triggers are the exact same. |
| 02-23-2004, 01:47 AM | #6 |
Touched up previous map and added an illustration to show that it does work. Will look at your map next. [edit] It appears as if the gnoll is not even getting the buff, and therefore not firing the trigger. [Edit2] Appears it does, actually. How odd. [Edit3] I believe I've localized it to some part of your sleep spell. |
| 02-23-2004, 02:28 AM | #7 |
Ugh. I can't seem to find it. As far as I see, it is localized to your sleep spell. Someone can pick up from here. I need a break. |
