| 10-09-2004, 11:24 PM | #1 |
hi!. i'm working with way gates and... i dunno how they work may i use triggers or what? thanks people! c ya |
| 10-09-2004, 11:30 PM | #2 |
I don't have WE here, but I think you can set their destination when clicking on them on WE, but I am sure that there is a action called "Set Waygate Destination" that can set their destination. |
| 10-09-2004, 11:50 PM | #3 |
If you double click on one in game while you are on unit layer, and selection is on, it brings up the property box. You can choose a region there. |
| 10-09-2004, 11:58 PM | #4 |
Guest | But you have to make a regon where the waygate will telelport you first! And read my sig....lol 3 reps one thread =P Edit: heres some rep I gave you so you could give us the rep =P greedybastard I am =P |
| 10-10-2004, 12:01 AM | #5 |
That's kind of what I meant, I was assuming that they knew they had to add a region, but it's all good. |
| 10-10-2004, 12:59 AM | #6 |
Guest | OMFG SOEMONE GAME ME BAD REP BECASUE THEY SAID MY SIG WAS STUPID LIKE THEY COULD DO ANY BETTER!! im reporting this to an admin |
| 10-10-2004, 04:12 AM | #7 | |
Quote:
thanks! it worked. it didn't by trigger. but now... the units use it! and they shouldn't! mi mod spawns units and orders them to attack/move to a point. but they go straight to the portal! skipping his real path! so... may i use triggers with regions to avoid this unit's IA? thanks. c ya |
| 10-10-2004, 05:06 AM | #8 |
You can just put some pathing blockers arround the Gate, them remove them when a specific unit or a hero come closer. |
| 10-10-2004, 08:18 AM | #9 | |
Quote:
Who the fuck cares? You deserve even more bad rep just because of that stupid fucking reply to a thread which is about a completely different subject. Geez. |
| 10-10-2004, 10:58 PM | #10 | |
Quote:
no no, if someone sends his unit to the portal, that unit won't know how to enter. the blockers will prevent all units from entering. anyways, if the pathing blockers would exist, the player's units won't use the portal as shortcut. in my mod, each player has a hero. only one. nothing more. the enemies attack the players with creeps. now... .....Player Base................................................................................................ ... ....._.../.................................................................................................... ........... .../....\............................................................................................... .................. |\|.....|/|..= = = = = = = = = = = = = = = = = = = = = = = < creep's path........... |--------|................................................................................................... ........... ..........|X| =........=..........=..........=.........=..........=........=....|X|.< portal for heroes. ............\...............................................................................\....... ...................... ..........Portal.....................................................................Portal......... ................ if i enable the portal, the creeps uses it! do u see the problem? i can't just erase the portals, they're useful. any advice? |
| 10-10-2004, 11:08 PM | #11 |
okay. if you set up the waygates like mentioned before the ai will use the fastest and/or shortest path to the destination you specified. this is necessary for melee ai. if you set it up with triggers the ai wont take the waygates anymore. if you like to have further advise, simply reply and i will give you the exact triggers. ps: testing new avatar :god_help_us: edit: i think it looks nice |
| 10-11-2004, 12:44 AM | #12 |
Units recognize the waygates as a shortcut and they use it. The way you can make this not happen would to be to trigger the waygates instead of actually making them waygates. So you could add another region around the waygate and do the trigger: Event: A unit enters region (waygate region) Condition: Action: Move (triggering unit) instantly to (Waygate region destination) Using this method the creeps and player units will not auto-run to and use the waygates, but if they are sent directly to the waygate, they will teleport. (You could even trigger a special effect or waygate animation to make it appear to worked just like a waygate) |
| 10-11-2004, 12:53 AM | #13 | |
Guest | Quote:
Yes they will. Dude you could use triggers to deactivate teh waygate and when your guys get there it turns on. |
| 10-11-2004, 12:55 AM | #14 | |
Quote:
|
| 10-11-2004, 01:31 AM | #15 |
JoSanchez55 is completely right. |
