Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Hey i was wondering if theres a way to create like a WoW skillbar? like the little boxes above the UI with 1 2 3 4 5 6 7 8 9 boxes and like 4 is 4 box's hotkey.
Yeah, my system takes up about 30kb of code.. there is not a single trigger to do this, and to make it interact-able, you must know some math and how to code inside the galaxy editor. Give it a try though, took me about a day to create the actionbar system in the following video. Hotkey 1-10 works just fine as well
When export/import of triggers is enabled, you can just use my system, if you like it
The main problem I have is you can not get the player who presses dialogs and as such you need to make a button for each player and then detect which button was pressed. All this takes code...
What? You can't use triggering player in (Player clicks dialog item)? It works in single-player I think.
Also you don't need to make more buttons, just more detecting triggers, you can set on which player's clicks the event reacts.
Dialog - Any Dialog Item is Clicked by Player Any Player
Local Variables
i = 0 <Integer>
p = (Triggering player) <Integer>
Conditions
(Type of (Used dialog item)) == Button
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If (Current value of (Used dialog item) for 1) != 0.0
Then Variable - Set i = (Integer((Current value of (Used dialog item) for 1)))
(Note htat this could be simplified, but doing so causes a trigger error to pop up in the event that the value of the dialog has not been set)
As for the hotkeys, each key has an integer value that can be gotten by Convert Preset To Integer. Figure out what the offset between 0 and the numerical keys, and you could just subtract that from the preset and get an integer representing which key was hit.
mrzwach Triggering Player does not work with that event, as far as I can tell.
It is shaded out in the GUI editor.
Furthermore as you run it, you get a script error saying that the native is returning no value cause there is no value to return.
Well the shading is propably bugged, triggering player is shaded out even for mouse clicks and key presses, and if it didn't work there, it would be completely useless.
Also, did the shading work at all in previous versions? I have never noticed it had any meaning
So if you did this using dialogs, how can you code say....an ability like shockwave, where you click it, get a target, and select somewhere for it to cast?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.