[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.

      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