Trying to Get Back into GUI - GUI Timed Effects System

Romek

Super Moderator
Reaction score
963
It's been a long time since I did GUI. So I thought I'd try it out (again).
Here's a timed effects system (in GUI) I made. Comments are appreciated. =)

No, this isn't meant to be in the T&R section.

Requires JassHelper!
____________________

Timed Effects - GUI Version!
By Romek - Requires TimerUtils

Features:
:D Made in GUI!
:D GUI Friendly
:D First Timed Effects made entirely in GUI!
:D No confusing colours or bold text which you see in JASS!
:D All-GUI! So GUIers can easily learn from it!
:D Very Readable, because it's GUI!
:D Fully MUI!
:D GUI MUI! What could be better!?
:( Requires TimerUtils
:D Only one con!
:D 8 Pros!
:D Wait, that was another one!
:D ... Fine. 11 including this one!
:D Wait, that was excluding that one!
:D 14 Pros : 1 Con. (Including this pro!)​

Usage:
Trigger:
  • Example GUI
    • Events
    • Conditions
    • Actions
      • Set Duration = 5.00
      • Set Path = Some Model
      • Set Unit = (Last restored unit)
      • Trigger - Run GUI Effects <gen> (ignoring conditions)

Easy, isn't it!?
Unit is the unit to attach to.
Path is the path of the model
Duration is how long the effect should last.​

The Code:
Enjoy the lovely, readable, easy-to-use, friendly GUI Code! :D
Trigger:
  • GUI Effects
    • Events
    • Conditions
    • Actions
      • Custom script: call GUI_Usage.execute()
      • Custom script: endfunction
      • Custom script: struct GUI_Effect
      • Custom script: effect e
      • Custom script: endstruct
      • Custom script: function GUI_Effect_Expire takes nothing returns nothing
      • Custom script: local timer t = GetExpiredTimer()
      • Custom script: local GUI_Effect data = GetTimerData(t)
      • Custom script: call DestroyEffect(data.e)
      • Custom script: call ReleaseTimer(t)
      • Custom script: call data.destroy()
      • Custom script: endfunction
      • Custom script: function GUI_Usage takes nothing returns nothing
      • Custom script: local timer t = NewTimer()
      • Custom script: local GUI_Effect data = GUI_Effect.create()
      • Custom script: set data.e = AddSpecialEffectTarget(udg_Path, udg_Unit, "origin")
      • Custom script: call SetTimerData(t, data)
      • Custom script: call TimerStart(t, udg_Duration, false, function GUI_Effect_Expire)

 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
The second trig is custom GUI(JASS) and it is the best GUI code i ever laid my eyes on wink cough sarcasm cough wink
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
Its good that a moderator is brining some humour to the world editor help forum. Its all GUI but you just need jasshelper and a jass system and some basic jass knoledgd to read this all GUI GUI
 

Romek

Super Moderator
Reaction score
963
> I'm afraid you're DSQ-d because of hybrid code.
But it's super-easy-to-use, and super-understandable and super-readable GUI.
No colourful text, bold writing or random spaces to confuse you. :(

> In what perspective is this better than http://www.thehelper.net/forums/show...39&postcount=3 ?
This one's accurate.

So, who likes my awesome GUI Skillz?
 

UndeadDragon

Super Moderator
Reaction score
447
Your GUI burns out my eyes.
 

Romek

Super Moderator
Reaction score
963
It's been a while since I've done GUI. So thanks for all the support guys!

> Your GUI burns out my eyes.
It's better than that colourful JASS. :p

This just shows that everything in JASS is possible in GUI.
...
...
:p
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
Ther is something diffrent about this GUI but i cant put my finger on it.
 

Romek

Super Moderator
Reaction score
963
> Ther is something diffrent about this GUI but i cant put my finger on it.
It works?
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
>you spamming your post count by like 20 just in this thread. So do you hav a problem speak to my laywer 0832852967
 

Viikuna

No Marlo no game.
Reaction score
265
> This just shows that everything in JASS is possible in GUI.

GUI sucks so much that you cant do really do anything with it. You even need Jass ( custom scripts ) to remove leaks. o_O

With GUI + custom scripts you can do loads of cool stuff, but it still sucks terribly because of that horrible ugly looking GUI interface.

We dont use Jass only because its less laggy & buggy, but also because its much easier to code with and looks much much better than GUI and thus is easier to read.

edit. Ok, ok next time I read that first post properly before I post. luls. Nice one..
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top