• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Set Waygate Ability targets allowed

Status
Not open for further replies.
Level 2
Joined
Jul 12, 2004
Messages
7
I have a problem: in my map (a Real Life), i use waygate to enter buildings. But cars can use them ... So i would like to set the waygate ability targets allowed to organic only, but it doesn't work editing the Waygate ability with World editor.
Any idea someone (i read about JASS but i didn't understand anything so if it is your answer you will have to explain me ^^)?


(Excuse my english i'm french ...)
 
Level 3
Joined
Jul 23, 2004
Messages
58
You can do that simply with the trigger editor. Just make a

Unit enters region - unit within range of X
If unit not equal to mechanic
Move unit to y
 
Level 2
Joined
Jul 12, 2004
Messages
7
Hem, i've exactly 160 waygates in my map ... I used this when it was smaller but it's difficult now ... Are you ready to make the 320 rects that it will need and the 160 triggers ? Me i'm not ^^
And i use "set waygate destination" and "disable waygate" in a lot of my triggers (to open, close and buy houses), so it would imply a lot of changes too.
 
Level 2
Joined
Jul 12, 2004
Messages
7
I've found ! (Hem ... a friend has found :D)
Buildings cannot use portals so modifying a building into a car will work.
 
Status
Not open for further replies.
Top