Hello, I am not sure if this belongs in Map Development or in Galaxy Editor Bugs. That depends on whether or not this is just me not seeing what I have done wrong or if it is a problem with the editor.
Okay, so in my current project, Units gain movement speed whenever they kill anything. They also gain size, health, etc., but that is besides the point (I think). I coded those things in with triggers, for when a unit dies:
Okay, that is just a descriptive example, it is actually a lot more complex than that. Anyways, this works without problems. Whenever a unit kills another, the killing unit gains movement speed.
However, now I have also added an Ability in the Data editor. It changes unit movement speed temporarily. It is like the Charge ability (for Zealots). It multiplies movement speed by 2.5 when active.
Here is the problem:
Whenever I load the map, the unit sits at its base movement speed. Then when I use the Charge-like ability, it works perfectly. However, after the unit has made a single kill (and its speed given a small increase as a result) the Charge-like ability no longer works.
Anyone got any clue as to what might be the reason that the Movement Speed enhancing ability is then not working? It seems there is a incongruity between the data and triggers when it comes to movement speed. Or perhaps, it is just that I made some silly mistake. But I have tried with several different movement enhancing abilities, the same happens.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello, I am not sure if this belongs in Map Development or in Galaxy Editor Bugs. That depends on whether or not this is just me not seeing what I have done wrong or if it is a problem with the editor.
Okay, so in my current project, Units gain movement speed whenever they kill anything. They also gain size, health, etc., but that is besides the point (I think). I coded those things in with triggers, for when a unit dies:
Okay, that is just a descriptive example, it is actually a lot more complex than that. Anyways, this works without problems. Whenever a unit kills another, the killing unit gains movement speed.
However, now I have also added an Ability in the Data editor. It changes unit movement speed temporarily. It is like the Charge ability (for Zealots). It multiplies movement speed by 2.5 when active.
Here is the problem: Whenever I load the map, the unit sits at its base movement speed. Then when I use the Charge-like ability, it works perfectly. However, after the unit has made a single kill (and its speed given a small increase as a result) the Charge-like ability no longer works.
Anyone got any clue as to what might be the reason that the Movement Speed enhancing ability is then not working? It seems there is a incongruity between the data and triggers when it comes to movement speed. Or perhaps, it is just that I made some silly mistake. But I have tried with several different movement enhancing abilities, the same happens.