I have a good bit of experience with the data editor and aside from smart commands there is to my knowledge no other way that the data side of things detects a right mouse click, and certainly no way that it detects releasing the right mouse button.
So for this I would certainly use triggers because you want to start it and stop it on the mouse being clicked down then being released.
If you are really determined to do it through data, enough to where you are willing to compromise on how exactly it works then you can get pretty close with just data.
You could do it by mimicing the Zealots Charge ability i.e you make an Augment Ability. Augment Abilities basically are abilities that allow you to produce an effect before the casting of the actual ability, as such the costs of both abilities are combined. Its also handy to note that the ability linked inside the augment ability is validated as well when casting or using the augment ability.
Example: Zealot Charge, This combines the Augment Ability Zealot Charge with the attack command, by applying a behavior to the zealot before the attack command is given albeit its almost an immeasurable amount of time between these two things taking place. The behavior increases movement speed obviously but the real work is being done by the validators that remove the behavior. Its a simple Unit Compare Order Target Range validator that detects when the caster is within X range of the target for ability Y in this case X is about 1 I think, and Y is the attack ability, this only works because the attack command is being executed via the augment ability, if you issue a different command to the zealot while he is charging the validator will fail and the behavior will be removed thus no more speed.
Now since we are using the move command I think you could change direction while boosting without loosing the buff, and basically what you would do is make an augment ability just like the zealots charge that instead validates the move command and uses the ranges you want, which I imaging would be 1 or less so you move all the way to the point clicked, the biggest difference is letting go of the right mouse button would not stop the boosting. You could use any number of validators to remove the speed boosting behavior you use though, even not using one and just letting the duration you set on it determine when it ends could work. By having this augment ability set on auto cast whenever your unit is issued the move command if the augment isnt on cooldown it will automatically go off. If you turn off autocast you will have a secondary move command that boosts speed when used.
Sorry if this is just a confusing wall of text PM me if you want I can explain it better on skype or something similar 8), as im not much of a tutorial writer or anything.
@DarlD: Go
I have a good bit of experience with the data editor and aside from smart commands there is to my knowledge no other way that the data side of things detects a right mouse click, and certainly no way that it detects releasing the right mouse button.
So for this I would certainly use triggers because you want to start it and stop it on the mouse being clicked down then being released.
If you are really determined to do it through data, enough to where you are willing to compromise on how exactly it works then you can get pretty close with just data.
You could do it by mimicing the Zealots Charge ability i.e you make an Augment Ability. Augment Abilities basically are abilities that allow you to produce an effect before the casting of the actual ability, as such the costs of both abilities are combined. Its also handy to note that the ability linked inside the augment ability is validated as well when casting or using the augment ability.
Example: Zealot Charge, This combines the Augment Ability Zealot Charge with the attack command, by applying a behavior to the zealot before the attack command is given albeit its almost an immeasurable amount of time between these two things taking place. The behavior increases movement speed obviously but the real work is being done by the validators that remove the behavior. Its a simple Unit Compare Order Target Range validator that detects when the caster is within X range of the target for ability Y in this case X is about 1 I think, and Y is the attack ability, this only works because the attack command is being executed via the augment ability, if you issue a different command to the zealot while he is charging the validator will fail and the behavior will be removed thus no more speed.
Now since we are using the move command I think you could change direction while boosting without loosing the buff, and basically what you would do is make an augment ability just like the zealots charge that instead validates the move command and uses the ranges you want, which I imaging would be 1 or less so you move all the way to the point clicked, the biggest difference is letting go of the right mouse button would not stop the boosting. You could use any number of validators to remove the speed boosting behavior you use though, even not using one and just letting the duration you set on it determine when it ends could work. By having this augment ability set on auto cast whenever your unit is issued the move command if the augment isnt on cooldown it will automatically go off. If you turn off autocast you will have a secondary move command that boosts speed when used.
Sorry if this is just a confusing wall of text PM me if you want I can explain it better on skype or something similar 8), as im not much of a tutorial writer or anything.
I think DarID's original post is lost somewhere, but I appreciate the explanation on how augment works. Thanks.
Go play Antioch Chronicles Remastered!
Also, coming soon, Antioch Episode 3: Thoughts in Chaos!
Dont like mapster's ugly white? Try Mapster's Classic Skin!
Thought the wiki article more or less said that.
http://www.sc2mapster.com/wiki/galaxy/data/abilities/augment/
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
It wasn't as clear IMO.
Go play Antioch Chronicles Remastered!
Also, coming soon, Antioch Episode 3: Thoughts in Chaos!
Dont like mapster's ugly white? Try Mapster's Classic Skin!