Ping as Event

Status
Not open for further replies.
Level 9
Joined
Dec 21, 2006
Messages
490
hi there

another question: is there any way to register the ping as an event in the trigger section? basicly i just want the ping to cost energy. i can make it look like it would cost energy etc, i am also able to disable it if the unit has not enough energy but i cannot drain energy for using it.
 
The only way to do this is to somehow disable all the default pinging mechanisms and handle it yourself. Doing this will require 3 parts.

Create a dummy spell with an associated energy cost and work with the Unit Uses Ability event to figure out where it is being cast.

You will need to disable+hide the default ping button and attach a fake ping button of your own to its old location. You will then tie this button in to your dummy spell.

The third problem is the Alt-Click shortcut that players can use to quick-ping the minimap. I don't know how to disable this, or if it is even possible. You will need to figure out this one on your own.
 
sounds promising but how do i tie the dummy button into my ability?
this dummy button would be a dialog, right?
i cannot order the unit to execute the ability half ( just open the window without target).
nor is there a dialog button with target.

is there no way with galaxy script and custom events?
 
Status
Not open for further replies.
Back
Top