How can I make buildable WayGates?

Status
Not open for further replies.

MindGame1212

M

MindGame1212

I've been crunching for quite a few hours, trial and error, and have yet to successfully make it so you can build a WayGate.

My idea: to make it so only specific units can enter through the waygate. My map will have like 10 different races, and anyone that picks the race with the waygate should be able to travel through friendly or self waygates. I don't want enemies to pass through, nor allies that didn't pick the race.

Help would be SUPER appreciated, and awesome! Plus, you win in the game of life.
 
Or you could give an original building the Waygate ability, and probably edit the Waygate ability to Allies only or something of that sort.
 
Any new help would be appreciated! It would be awesome to have just the one race be able to go through. I wouldn't mind making 10 triggers for each unit in the Race. Whatever might work!
 
change model on any other building and make
trigger
event:
unit finishes building
condition:
building being constructed equal to way gate
race of ovner of building being constructed equlal to any race
action:
add constructed building to unit group
set variable regionforyourrace=point of constructed building

event:
unit enters regionforyourrace
condition:
ovner of entering unit equal to ovner of units in unit group
action:
instantly move entering unit to ....
 
Status
Not open for further replies.
Back
Top