Hi everyone, just a quick question, is there a way to make a trigger so when a unit enters a certain terrain they get teleported somewhere else? If so, could you tell me how please
There is a little variation to this trigger, Not exactly as you say, but works the same.
It picks every unit based on If unit is hero( set this to whatever you want it to check for players hero), and if that picked unit is on X terrain, then move that hero to Blah blah blah.
Untitled Trigger 001
Events
Time - Every 0.50 seconds of game time
Conditions
Actions
Set Temp_Group = (Units in (Playable map area))
Unit Group - Pick every unit in Temp_Group and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is A Hero) Equal to True
(Terrain type at (Position of (Picked unit))) Equal to Lordaeron Summer - Dirt
Then - Actions
Unit - Move (Picked unit) instantly to (Center of (Playable map area))
Else - Actions
Custom script: call DestroyGroup(udg_Temp_Group)