sentrywiz
S
sentrywiz
Trying to make a map. A unit shoots a missile, and if that one hits, it checks items and attempts to do some effects with dummies. Problem is:
1. Slow item (dummy casts slow)
2. Poison item (dummy casts shadow strike)
The ability bugs itself when the missile hits.
Both effects don't occur. Either the slow gets a cast or the poison gets a cast. Not both.
Trigger wise, the gui triggers aren't in one if-else-then. they are in separate ones and the only check is if the unit has the item.
This is how they are lined up:
if (unit has item)
{
do something
}
if (unit has item)
{
do something
}
I can't find why can't two dummies be created and cast at the same time. Any insights?
1. Slow item (dummy casts slow)
2. Poison item (dummy casts shadow strike)
The ability bugs itself when the missile hits.
Both effects don't occur. Either the slow gets a cast or the poison gets a cast. Not both.
Trigger wise, the gui triggers aren't in one if-else-then. they are in separate ones and the only check is if the unit has the item.
This is how they are lined up:
if (unit has item)
{
do something
}
if (unit has item)
{
do something
}
I can't find why can't two dummies be created and cast at the same time. Any insights?