Hi, I need your help on a point.
I try to creat unit from a ability "Invocation" that an unit must have.
If I use the MULECreateUnit and I change the CalldownMULECreateUnit to change the unit generated it's fine (I can creat marine instead of MULE by example). The problem is that I don't want to create SPECIFIC unit.
I spawn monsters waves and the unit type are presents in a matrix. I want to create unit from next Waves (as player owner) to help player.
So when waves 1 come, player can invocate monster of type wave 2, etc...
So anybody know how I can create unit I want from an ability ?
Or maybe is someone knowing how to launch trigger from ability ?
It sounds like this should be a trigger, but... if you absolutely must use abilities for this... I suppose you could create an ability that both spawns the unit, and "upgrades" itself, and that upgrade is your next wave... being able to pull that next object from a list is probably not possible... but otherwise, you can do it with abilities alone.
Thank you for your advice ! I think that I can do something with Nigle trick, but I think it will be pain in the ass to create aboute 40 skills which differe for units type creation :/
I will search for a solution a little more ^^
Event: Unit - Any Unit uses Ability at Generic1 - Any stage (Ignore shared abilities)
Target that event at the required unit and ability. From there you should be able to set the action to spawn what you want... It may take some work to get it to tie into the waves and what not, but I can't approach that w/ out seeing what you're using for triggers already.
Hi, I need your help on a point. I try to creat unit from a ability "Invocation" that an unit must have. If I use the MULECreateUnit and I change the CalldownMULECreateUnit to change the unit generated it's fine (I can creat marine instead of MULE by example). The problem is that I don't want to create SPECIFIC unit.
I spawn monsters waves and the unit type are presents in a matrix. I want to create unit from next Waves (as player owner) to help player. So when waves 1 come, player can invocate monster of type wave 2, etc...
So anybody know how I can create unit I want from an ability ? Or maybe is someone knowing how to launch trigger from ability ?
Thx it will help me a lot ^^
maybe each wave you can just remove that skill from those units and add the new skill for the new wave. at least I think that is a viable work around
Only possible with triggers, not data.
It sounds like this should be a trigger, but... if you absolutely must use abilities for this... I suppose you could create an ability that both spawns the unit, and "upgrades" itself, and that upgrade is your next wave... being able to pull that next object from a list is probably not possible... but otherwise, you can do it with abilities alone.
Thank you for your advice ! I think that I can do something with Nigle trick, but I think it will be pain in the ass to create aboute 40 skills which differe for units type creation :/ I will search for a solution a little more ^^
@Darkzealot77: Go
You don't really need 40 skills.
Create a skill that does nothing named Invocation.
Then use a trigger that check if any unit use that skill.
You probably already have the types of unit of every wave in an array, so when you create the unit, simply use:
Create 1 Your_Variable_For_Unit_Type[Your_Variable_For_Current_Wave +1] for...
Event: Unit - Any Unit uses Ability at Generic1 - Any stage (Ignore shared abilities)
Target that event at the required unit and ability. From there you should be able to set the action to spawn what you want... It may take some work to get it to tie into the waves and what not, but I can't approach that w/ out seeing what you're using for triggers already.
Hope this helps. :D
Moved to general development