Skill bar

Status
Not open for further replies.
Level 19
Joined
Aug 8, 2007
Messages
2,763
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 :)


 
uhhhhh
  • Events
    • 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.
 
Status
Not open for further replies.
Back
Top