Need help with teleport trigger

Status
Not open for further replies.

Viking_chief

V

Viking_chief

Hi i've been trying to make a trigger that scans if the unit controller is enemy or ally with green player. if it's an enemy the units gets teleported away while an ally will be teleported inside.

My problem is that when i test this trigger it either let both enemy and ally inside or teleport both away.

i think it's a proglem with the conditions i've made in the trigger but i'm not sure

Here's the trigger i've made

Triggertileragon12.gif


Hope anyone can help me find my problem:wink:
 
First thing u got to know

You use Event region and theres no condition using event, thats the big why its don't work,
Change triggering player by Entering unit and it would work e-z

plz learn this dude it will remove most lag in your map

Learn about LEAKS it will also reduce lot lag in your map after u learn leaks u use
Leak tutorial link :
https://www.hiveworkshop.com/forums/trigger-gui-editor-tutorials-279/basic-memory-leaks-5889/

Things that leak :
https://www.hiveworkshop.com/forums/triggers-and-scripts-269/things-that-leak-35124/

leak checker link :
https://www.hiveworkshop.com/forums/tools-560/leak-check-1-3-a-62951/
 
Status
Not open for further replies.
Back
Top