A potencial method to have some custom non-static abilities
Posted: Wed Nov 09, 2011 8:13 pm
Mostly made as an attempt to find a way for Mucky to have some custom pickable spells for his future SC2 TGS rather than static spells per hero due to how the SC2 engine is made.
The whole thing mostly relies on having a dummy ability (of type aoe, self-casted, etc.) with a dummy effect then having a trigger of the event "Effect Used" then depending on the player, it uses a different effect (or apply behavior if preferred) rather than being completely stuck on the ability's innate effect.
So far, the only flaw in the grand scheme of things is being unable to modify a button's image icon for said dummy ability (while the name, tooltip and even hotkey is possible) but it's possible to live with it.
I attached the map to show concretely how it is done. It's quite possible that it's has been known a long time ago by some others but it's new to me.
The whole thing mostly relies on having a dummy ability (of type aoe, self-casted, etc.) with a dummy effect then having a trigger of the event "Effect Used" then depending on the player, it uses a different effect (or apply behavior if preferred) rather than being completely stuck on the ability's innate effect.
So far, the only flaw in the grand scheme of things is being unable to modify a button's image icon for said dummy ability (while the name, tooltip and even hotkey is possible) but it's possible to live with it.
I attached the map to show concretely how it is done. It's quite possible that it's has been known a long time ago by some others but it's new to me.