So I'm trying to add non-combat, non-improvement spell-like abilities to units. Copying some code from Bombardment.lua, I can make the bombardment interface appear in order to prompt the player to select a target, but I can't figure out how to hook up an event for when the user then clicks on the desired target.
Using an event such as
never seems to fire the method; anyone tried this before or have any ideas?
Using an event such as
Code:
Events.SerialEventHexSelected.Add(EndSpell);