[Classroom] GUI 101

Newbwc3

Sephiroth_VII
Reaction score
157
Purge I had that same program before on my comp.. and i probly still do just never use it.lol Try making a NASA space shuttle I made one before.

>Suggestion on the class maybe you should put all the lessons on your first post. Cause thats where I looked for them at. Besides its alot more organized that way.
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
Lol... I know, but it takes longer on a real old and long post than it does with a fresh and clear post. :D

@Elmstfreddie and Newbwc3: You do know I just started today? lol... I'm not even good yet!
 
T

thedude

Guest
Code:
Lesson 3
    Events
    Conditions
    Actions
        Set Unit[(Player number of (Owner of (Triggering unit)))] = (Triggering unit)
        Set UnitPosition[(Player number of (Owner of (Triggering unit)))] = (Position of Unit[(Player number of (Owner of (Triggering unit)))])
        Set UnitGroup = (Units within 500.00 of UnitPosition[(Player number of (Owner of (Triggering unit)))])
        For each (Integer EffectArray) from 1 to 10, do (Actions)
            Loop - Actions
                If (EffectArray Less than or equal to 10) then do (Set SpecialEffect[(Player number of (Owner of (Triggering unit)))] = (Last created special effect)) else do (Do nothing)
        If ((Level of War Stomp for Unit[(Player number of (Owner of (Triggering unit)))]) Equal to 3) then do (Unit - Explode Unit[(Player number of (Owner of (Triggering unit)))]) else do (Game - Display to (All players matching ((Triggering unit) Equal to Unit[(Player number of (Owner of (Triggering unit)))])) for 2.00 seconds the text: Your Level is not 3)
        For each (Integer EffectArray) from 1 to 10, do (Actions)
            Loop - Actions
                If (EffectArray Less than or equal to 10) then do (Special Effect - Destroy SpecialEffect[EffectArray]) else do (Do nothing)
        Point - Remove UnitPosition[(Player number of (Owner of (Triggering unit)))]
        Unit Group - Destroy unit group UnitGroup

GJ purge! Some spheres, next thing you'll know he'll make a ring! Or maybe use the "Teapot" shape!

Lmao...
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
erm...not so understand about the challenge and assignment...but i will do wat purge tell me do...and i fell sad...done things recomended in lesson 2...and just got 95 :(

Code:
Actions
    Custom script: call DestroyGroup(udg_PoopG)
    Custom script: call RemoveLocation(udg_PoopL)
    Set Pooper = (Triggering unit)
    Set PooperL = (Position of (Triggering unit))
    Custom script: call RemoveLocation(udg_PooperL)
    For each (Integer A) from 1 to 10, do (Actions)
        Loop - Actions
            Special Effect - Destroy Effect[(Integer A)]
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            (Level of Acid Bomb for (Triggering unit)) Equal to 7
        Then - Actions
            Unit - Kill (Triggering unit)
        Else - Actions

Code:
Actions
    Set Pooper = (Triggering unit)
    Set PooperL = (Position of Pooper)
    Set Pooperug = (Units within 500.00 of PooperL)
    For each (Integer A) from 1 to 10, do (Actions)
        Loop - Actions
            Set PoopFX[(Integer A)] = (Last created special effect)
            Custom script: call DestroyEffect(udg_PoopFX[GetForLoopIndexA()])
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            (Level of War Stomp for (Triggering unit)) Equal to 3
        Then - Actions
            Unit - Explode (Triggering unit)
        Else - Actions
            Game - Display to (All players) for 2.00 seconds the text: Your Level is not 3
    Custom script: call RemoveLocation(udg_PooperL)
    Custom script: call DestroyGroup(udg_Pooperug)
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
I'll look at the assignments and make the challenges more clear later because I'm sooo tired and sleepy I can barely stay awake.
e102.gif
 

rodead

Active Member
Reaction score
42
here is my homework hope i did it well

Code:
pooper
    Events
        Map initialization
    Conditions
    Actions
        Set pooper = (Triggering unit)
        Set unitgrouppooper = (Units within 500.00 of (Position of pooper))
        For each (Integer A) from 1 to 10, do (Actions)
            Loop - Actions
        Set PoopFX[(Integer A)] = (Last created special effect)
        [B]Set pooper = (Triggering unit)[/B]
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of War Stomp for (Triggering unit)) Equal to 3
            Then - Actions
                Unit - Explode (Triggering unit)
            Else - Actions
                Game - Display to (All players) for 2.00 seconds the text: your level is not 3
                Custom script:       call DestroyGroup(udg_unitgrouppooper)
                Custom script:       call DestroyEfect(udg_PoopFX)
                Custom script:       call DestroyUnit(udg_Pooper)

1 thing i didn't understand the location of pooper how to trigger that i made it some bigger i know it is not the right action.
 

Newbwc3

Sephiroth_VII
Reaction score
157
Ah yes.... Lesson 2!!

Code:
Challenge 1
    Events
        Map initialization
    Conditions
    Actions
        Game - Display to (All players) for 20.00 seconds the text: Pooooo! Poooooooooo...

Assignment
Events
Map initialization
Conditions
Actions
Set Text[1] = Poopy face
Set Text[2] = I'm a
Game - Display to Player Group - Player 1 (Red) for 10.00 seconds the text: Text[1]
Game - Display to Player Group - Player 1 (Red) for 10.00 seconds the text: Text[2]
Game - Display to Player Group - Player 1 (Red) for 10.00 seconds the text: (Text[2] + Text[1])

IF
there is anything wrong at all with it plz tell me.
THEN
I will fix it
ELSE
I do nothing at all
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
Thanks.. but it isn't too necessary unless I already bumped it or something like that... ;)

Lesson 4 Gameplan:
Code:
[I][B][U][U]Lesson 4: Lesson Date: May 18 or 19[/U][/U][/B]
- Presets
- Actions' Function Options
- Values
- Assignment[/I]

This will probably be on May 19th because I need to still grade and correct the assignments. :D
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
Yes it does:

Actions == Functions

Some Funcs == Have Values

Values == Have Either Presets, direct Values, or Functions

Function's function options:

functionsfunctionoptionbw5.jpg


:D
 

elmstfreddie

The Finglonger
Reaction score
203
Well those are general functions.
Functions that can be used in certain functions!
lol
Funtion's functions is confusing though, since this is GUI we should really be referring to them as actions.
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
Wow... I'm sooo busy though this weekend. Hopefully, I'll get elmstfreddie to post the next lesson, I will not have this classroom die like many others. :D

I'll correct the assignments Monday if I have time. ;)
 
N

Norava

Guest
i wanna join

I wanna join so i can learn how to make my fully custom loap lol
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top