| 10-14-2004, 02:41 AM | #1 |
I want to be able to make a building that can create a gateway output on another part of the map that has been explored (and/or is visible).. then being able to have a unit teleport to that gateway by "entering" that building. replies are greatly appreciated |
| 10-14-2004, 03:06 AM | #2 |
A unit enters (regoin where your nydus canal is) conditions- Unit is ally of unit type equal to (nydus canal?? actions- Move unit to location (region where the nydus is) OR!!!! You could take the waygate change its selection size to whatever you like and change its model and size and do the triggers |
| 10-14-2004, 03:14 AM | #3 |
yes thats lovely... but i wanted to know how i could make an ability that places a gateway output somewhere else on the map |
| 10-14-2004, 03:19 AM | #4 |
Give the building an instant ability that does nothing. When the player hits it... Force the player to select an invisible builder unit, force UI key "B", then Force UI key <the hotkey for the new Naydus Canal...> |
| 10-15-2004, 01:38 AM | #5 |
Guest | Give the waygate unit an ability that targets a point, with 9999 range, or as high as it will go. Then when that ability is used, change the waygate target to that point using Neutral buildings - change waygate target. I don't think you can test to see if a point has fog of war or black mask for a player...? but you could enable teleporting to a region, say, if one of the player's units enter that region. Then add to the change waygate target trigger the conditions, If targeted point is in region[X] => if canTeleportTo[x] = false then Do Nothing. Then use a loop to check for every array. Oh, and create another waygate at the target location, and set its waygate target back to the first waygate. |
| 10-15-2004, 03:56 AM | #6 |
Ok... that way gate thing can work... But it will not build the Gate there, and the Waygate ability transports EVERY unit, not just friendly units, I guess you will need triggers to move the unit if you want it to target only friendly units, and an item abillity with modified range to build the gate on the target location.I am assuming that you want an abillity that works just like the Nydus Canal. |
