A
A Fly
Guest
Hello, im pretty new I would like to sign up .
Where do I get GUI? xD.
Where do I get GUI? xD.
Lol.. XD
Anyways, I'm glad to hear that you joined and that you are willing to learn.
Sorry, I don't understand you.
purgeandfire
can u each me jass//, and is gui, he basic click rigger hing (sorr, some kes are no working on keboard) like even- a uni eners region(00)
condiion-
acion- kill (riggering uni)
Thanx denmax...
@MapMaker: Yes, GUI is the clicker thingy that you use.
Set Loc = Center of (Playable Map Area)
Unit - Make unit face Loc
Set Loc = Center of (Playable Map Area)
Unit - Make unit face Loc
Custom Script: call RemoveLocation(udg_Loc)
Here is an example mini-tutorial:
- First, go and create your "Point" variable. Then go to "General | Set Variable".
- Once you are there, click the first value and select your variable from the selection bar and click "OK"
- Then set the 2nd value to your point.
- It should look something like this:
- Then use the variable in the action:Code:Set Loc = Center of (Playable Map Area)
- Then remove it with a custom script by going to "General | Custom Script". Then type out: "call RemoveLocation(udg_Loc)" So that it displays:Code:Unit - Make unit face Loc
Code:Set Loc = Center of (Playable Map Area) Unit - Make unit face Loc Custom Script: call RemoveLocation(udg_Loc)
"call" = Calls the function
"RemoveLocation" = Removes the location
"(udg_" = Makes it so that a global variable is removed
"Loc" = Variable Name
")" = Ending the statement of the parenthesized text
And that is how you fix the leak, though that is not the challenge. But you can do that but instead use it in your action instead.
Note: The challenge is just an extra credit sort of thing, it will not make your grade 100/100, but if it functions properly, then you get the points. Even if you don't do the challenge, but it functions properly, you get 100/100.
uh whats a leak, ad is the variale you used a regio variale, how would you do it if it was a unit variable or game cache or something? ad is the locatio i "remove locatio" the variale? THX for the help again (and yes, my brother fixed the keyboard yay)) and thx for the mini tut