Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Helping You

Events


Player - Player 1 (Red) types a chat message containing -enter as An exact match

Conditions


(YourRegion contains (Position of YourUnit)) Equal to True

Actions


Unit - Move YourUnit instantly to (Center of YourRegion)
Helping You

Events


Player - Player 1 (Red) types a chat message containing -enter as An exact match

Conditions


(YourRegion contains (YourUnit)) Equal to True

Actions


Set SomePoint to (Center of YourRegion)


Unit - Move YourUnit instantly to SomePoint


Custom script: call RemoveLocation(udg_SomePoint)
something like:
plz rep if you can
Helping You
Events
Player - Player 1 (Red) types a chat message containing -enter as An exact match
Conditions
(YourRegion contains (Position of YourUnit)) Equal to True
Actions
Unit - Move YourUnit instantly to (Center of YourRegion)
Leaks.
Leaks.
Untitled Trigger 001

Events


Player - Player 1 (Red) types a chat message containing -Enter as An exact match

Conditions

Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Camera_unit[(Player number of (Triggering player))] is in (Units within 100.00 of (Position of (Fountain of Life)))) Equal to True



Then - Actions




Unit - Move Camera_unit[(Player number of (Triggering player))] instantly to (Center of (DESTINATION_REGION))



Else - Actions
yea, it's also not a real trigger. if he wanted perfect code he would have asked for jass, but considering the simplicity of the question i'd assume leaks don't matter right now.
ATTACK MortAr-!!!
It's actually a correct thing to do, he/she only presents the answer in the most simplistic way, meaning no extra other things that the person in question might get more questions about, not to mention that this isn't a big leaker at all unless you keep moving that region you move them to.
Don't ask for rep thats really annoying lol...
Set a Variable to equal your hero unit.
Untitled Trigger 001
Events
Player - Player 1 (Red) types a chat message containing -Enter as An exact match
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Camera_unit[(Player number of (Triggering player))] is in (Units within 100.00 of (Position of (Fountain of Life)))) Equal to True
Then - Actions
Unit - Move Camera_unit[(Player number of (Triggering player))] instantly to (Center of (DESTINATION_REGION))
Else - Actions
Wheres the love, brother?
Rofl.
Leaks a position.
I don't quite understand 'leaks' and why they are bad.
https://www.hiveworkshop.com/forums/triggers-scripts-269/things-leak-35124/This is one of the most stupid answers i have seen...WHAT is this supposed to mean?GUI isn't good?Well if you don't like it,don't use it.THAT doesn't mean that GUI triggers are useless or just too simple,i think that almost everything is possible in GUI +Custom texts(where you can use a few important jass actions).
So just don't reply telling him that GUI <<suck>> and he should use.
Oh by the way, crl made a clear example to help him,it is leaking though as mentioned.
if he wanted perfect code he would have asked for jass
something like:
Helping You
Events
Player - Player 1 (Red) types a chat message containing -enter as An exact match
Conditions
(YourRegion contains (Position of YourUnit)) Equal to True
Actions
Unit - Move YourUnit instantly to (Center of YourRegion)
Command

Events


Player - Player (#) types a chat message containing -enter as an exact match

Conditions


Region <gen> contains (Unit) Equal to True

Actions


Set Position = Center of OtherRegion


Unit - Move (Unit) instantly to Position


Custom script: call RemoveLocation(udg_Position)
Then what is this supposed to mean?Doesn't this means GUI sucks?
But anyway i don't want to start a Jass Vs GUI thread cause i know Jass is better...and i know that custom texts ARE Jass.But those actions are almost known by everyone to fix leaks,like RemoveLocation,DestroyGroup,DestroyForce ...
