- Joined
- Aug 11, 2009
- Messages
- 6,527
I was wondering, when you've made a custom UI, meaning removed the default UI and you've added screen images/Dialog Images, how can you make them cast a default skill?
I was wondering, when you've made a custom UI, meaning removed the default UI and you've added screen images/Dialog Images, how can you make them cast a default skill?
Well what if the ability needs the player to choose a target?
Selection is the easiest way to do it.
But what if it's target location? <.<
doesn't seem that hard.
If you can, when they press the button for the spell, change the users mouse icon and enable 2 triggers, one that is "SpellCancel" that triggers when the player right clicks and one that is "CastSpell" that triggers when they left click. Upon left clicking, it would tell the unit to use the spell on the target point. Upon right clicking, it would change your icon back to normal and disable both triggers.
Kinda hard to describe but meh.