So i`m trying to recreate cast on portrait like in warcraft3 . I need to know is there trigger event for player/unit start targeting ability? I know there is "player press button" event, but its bad cause affected by bnet lag.
The issue lies in the frame work of sc2, you cant target a unit from the status frame. In theory you could use triggers to detect the button presses and the clicking of the unit portrait.
So i`m trying to recreate cast on portrait like in warcraft3 . I need to know is there trigger event for player/unit start targeting ability? I know there is "player press button" event, but its bad cause affected by bnet lag.
If there was such an event it would also be affected by latency. Latency is what happens when you synchronize something local (targeting an ability) with all clients (deterministic triggers).
The issue lies in the frame work of sc2, you cant target a unit from the status frame. In theory you could use triggers to detect the button presses and the clicking of the unit portrait.
I did dialogs/triggers based group interface and i can target unit from status frame using it. But i cant use "button pressed" event cause it used very often in game and affected by delay.
Quote:
If there was such an event it would also be affected by latency. Latency is what happens when you synchronize something local (targeting an ability) with all clients (deterministic triggers).
I was hoping that I missed something =).
Seems like its impossible to recreate.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So i`m trying to recreate cast on portrait like in warcraft3 . I need to know is there trigger event for player/unit start targeting ability? I know there is "player press button" event, but its bad cause affected by bnet lag.
the event unit uses ability can have different stages of an ability
Already have tried but couldn't find right stage . Could you clarify what stage of ability should i use for this event?
The issue lies in the frame work of sc2, you cant target a unit from the status frame. In theory you could use triggers to detect the button presses and the clicking of the unit portrait.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
If there was such an event it would also be affected by latency. Latency is what happens when you synchronize something local (targeting an ability) with all clients (deterministic triggers).
I did dialogs/triggers based group interface and i can target unit from status frame using it. But i cant use "button pressed" event cause it used very often in game and affected by delay.
I was hoping that I missed something =).
Seems like its impossible to recreate.