I want to center the view at each nydus canal you enter.
I want so that if you bring the unit the canal the view would instantly go to the exit of the canal and versi versa, so basically to each nydus canal the view will go to where you will pop out. The only problem I have with this is that I could put a wait, but it will be in conflict with another one. I tried death counter, but I couldn't figure it out.
You have me confused. Why would you need a wait or dounter to do this?
Okay, this wont be an answer to your problem, but it might help.
:Put a location over each of the nydus canals(we'll call that N1):
:Put another 1gridblock sized location next to it:
:Have it so when Player whatever brings unit to N1, center location on whatever unit is there. Have a switch on the "Center Location on Unit Trigger":
:Now, have it Center View on the unit, and when it goes threw the nydus canal, disable the Switch connected to the last trigger:
And that, in theory, could fix your problem, but it is EXTREMELY lengthy, so I don't even know why you would want to do this, its not like its hard to just click the picture of the unit that goes through the canal and center the screen that way
-_=LordVodka=_-
(damn that was long post)
The wait time thing would work like this
| Trigger |
null| Conditions: |
| ¤ Player X brings one marine to location Enter nydus canal |
| Actions: |
¤ Center View on exit canal
|
¤ Wait 5000 milliseconds
|
| ¤ Preserve trigger |
This will give a wait time for the trigger to be cleared so the view won't go back to the exit because you brought your unit to the exit nydus canal, so you will get time to move the unit so view doesn't center on the entrance of the nydus canal. But I want to do this for two reasons.
#1) I already have a wiat going around and it might get in conflict with it.
#2) It is very sloppy looking...
The wait won't stop it form re-centering anyways because during the wait it will check the other trigger and run it.
While I tried to prove you wrong, I know I shouldn't have...
I found out two things.
#1) You were right, the reason why I thought you were wrong is because I made a trigger like that and it worked.
#2) I can just make the location center when I bring the unit at the place it exits...
are the nydus canals connected? because if they are make them unconnected because then you could use the move units trigger and then just center view. make sure u teleport to an area a few grid squares away from the other nydus.
QUOTE(xtremebob @ Oct 24 2004, 12:28 AM)
I want to center the view at each nydus canal you enter.
I want so that if you bring the unit the canal the view would instantly go to the exit of the canal and versi versa, so basically to each nydus canal the view will go to where you will pop out. The only problem I have with this is that I could put a wait, but it will be in conflict with another one. I tried death counter, but I couldn't figure it out.
[right][snapback]89026[/snapback][/right]
| Trigger |
| Conditions: |
| ¤ Always |
| Actions: |
¤ Center location '2x2' on 'dude' owned by current player
|
| ¤ Preserve Trigger |
| Trigger |
| Conditions: |
| ¤ Player X brings at least one Nydus Cannel to '2x2' |
| Actions: |
¤ Center location '2x2' on 'Nydus Cannel' owned by player X at '2x2'
|
¤ Center Veiw on '2x2'
|
| ¤ Preserve Trigger |
This trigger basicly scans your units radius and if there is a Nydus cannel near it it will center the location on it while he is in range.
Sometimes i amaze myselfThats just amazing skill there Bolt, sometimes you amaze me as well!