- Joined
- Apr 26, 2008
- Messages
- 2
Hello, sorry if this kind of question has already been asked but I could not find it using the search function and reading through the forum became somewhat tedious after page 17.
I'm trying to make a creature that has an ability to 'infect' other creatures which after a certain amount of time will then kill the infected creature and then spawn something depending on the type of unit killed.
I started by editing the parasite ability to get what I wanted, but the creatures it spawns are always the same regardless of the type of unit killed. So I tried making a trigger that is triggered by a unit receiving the infection buff, which will then check the unit type of the infected unit and then spawn the type of unit I want. However not only am I unable to find a way to make a unit receiving a buff/infection start a trigger, but I can't seem to specify which player gets the spawned unit.
I had partial success with making a trigger based on when a unit was attacked and then checking if it had the buff, but that trigger won't work soley on the ability being used - the units still need to be attacked. And whichever player gets the first attack in gets to control the unit. This map is going to be a multiplayer map so I can't have problems like that.
Can you guys suggest some way I can either create a trigger started by a buff, or edit the ability to spawn multiple types of units.
I'm trying to make a creature that has an ability to 'infect' other creatures which after a certain amount of time will then kill the infected creature and then spawn something depending on the type of unit killed.
I started by editing the parasite ability to get what I wanted, but the creatures it spawns are always the same regardless of the type of unit killed. So I tried making a trigger that is triggered by a unit receiving the infection buff, which will then check the unit type of the infected unit and then spawn the type of unit I want. However not only am I unable to find a way to make a unit receiving a buff/infection start a trigger, but I can't seem to specify which player gets the spawned unit.
I had partial success with making a trigger based on when a unit was attacked and then checking if it had the buff, but that trigger won't work soley on the ability being used - the units still need to be attacked. And whichever player gets the first attack in gets to control the unit. This map is going to be a multiplayer map so I can't have problems like that.
Can you guys suggest some way I can either create a trigger started by a buff, or edit the ability to spawn multiple types of units.