Just curious if there is an equal to: "Unit - Order (Triggering unit) to Move To (Center of (Playable map area))" (From WC3) in Sc2 editor?
I found the: "Unit - Order (Triggering unit) to (Ability Command) (Replace Existing Orders)" in the Sc2 editor but i cant find the Ability Command: "Move" or anything like that. Just "Hold position" and others.
So the 1st question is: How can i make a unit move with triggers?
2nd question: How can I (if possible) lock the camera to a unit?
Wc3 example: Camera - Lock camera target for Player 1 (Red) to (Triggering unit), offset by (0.00, 0.00) using Default rotation
For the second question, do you mean how the SC1 triggers "Center View" continuously on to a location or a target?
Here's the solution to your second question if that is so.
First, if you want it to lock on to a single target throughout the whole game span, you would want to set the event to "Timer - Every 0.0001 seconds of Game time".
For the actions, look under "Camera". Next, find "Pan Camera". Double click it.
Now, just change the following:
Player to whatever player you're doing it to
"Point: Center of Region" > "Region" (The variable you gave to the unit or location / region)
Duration should be set to 0.0 if you don't want the camera to be slow on catching up to the unit!
Decelerate: I tried both Default (10.0) and 0, but I don't see what the difference is when you're just continuously looking over your unit.
The only answer to question 1 that I can give you is, I haven't tryed this yet but try the Trigger: Unit > Move Unit Instantly. I don't know if they teleport to spot, or if they move there, I haven't tryed it yet.
First, if you want it to lock on to a single target throughout the whole game span, you would want to set the event to "Timer - Every 0.0001 seconds of Game time".
If I do that it lags if i move the unit or the mouse to the side (it tries to move away but snaps back)
The only answer to question 1 that I can give you is, I haven't tryed this yet but try the Trigger: Unit > Move Unit Instantly. I don't know if they teleport to spot, or if they move there, I haven't tryed it yet.
This is a teleport, so it isn't working the way i want.
I more want them to patrol or move in a certain direction.
But thanks anyway guys (/girls) for your comments.
You can move a unit via the issue an order action. You have to select the a order type with a target and ability to move.
example: Unit - Order Rambo [10.52, 56.83] to ( Move targeting (Center of Region 001)) (Replace Existing Orders)
For the camera i'm not sure I have the same problem.
Found a solution. Use these actions:
Camera - Follow for player 1 (Unit group(Rambo [10.52, 56.83])) with the camera and Clear Current Target
, Camera - Lock camera input for player 1.
no need for every 0.0001 seconds looping, just put in in the initialization
Hi again.
Just curious if there is an equal to: "Unit - Order (Triggering unit) to Move To (Center of (Playable map area))" (From WC3) in Sc2 editor?
I found the: "Unit - Order (Triggering unit) to (Ability Command) (Replace Existing Orders)" in the Sc2 editor but i cant find the Ability Command: "Move" or anything like that. Just "Hold position" and others.
So the 1st question is: How can i make a unit move with triggers?
2nd question: How can I (if possible) lock the camera to a unit?
Wc3 example: Camera - Lock camera target for Player 1 (Red) to (Triggering unit), offset by (0.00, 0.00) using Default rotation
Thankful for answers. -Ralme
For the second question, do you mean how the SC1 triggers "Center View" continuously on to a location or a target?
Here's the solution to your second question if that is so.
First, if you want it to lock on to a single target throughout the whole game span, you would want to set the event to "Timer - Every 0.0001 seconds of Game time".
For the actions, look under "Camera". Next, find "Pan Camera". Double click it. Now, just change the following:
Player to whatever player you're doing it to
"Point: Center of Region" > "Region" (The variable you gave to the unit or location / region)
Duration should be set to 0.0 if you don't want the camera to be slow on catching up to the unit!
Decelerate: I tried both Default (10.0) and 0, but I don't see what the difference is when you're just continuously looking over your unit.
Smart: I left it as Default (Do Not).
I hope this helped!
@Nothing5: Go
The only answer to question 1 that I can give you is, I haven't tryed this yet but try the Trigger: Unit > Move Unit Instantly. I don't know if they teleport to spot, or if they move there, I haven't tryed it yet.
If I do that it lags if i move the unit or the mouse to the side (it tries to move away but snaps back)
This is a teleport, so it isn't working the way i want. I more want them to patrol or move in a certain direction.
But thanks anyway guys (/girls) for your comments.
You can move a unit via the issue an order action. You have to select the a order type with a target and ability to move. example: Unit - Order Rambo [10.52, 56.83] to ( Move targeting (Center of Region 001)) (Replace Existing Orders)
For the camera i'm not sure I have the same problem.
Found a solution. Use these actions: Camera - Follow for player 1 (Unit group(Rambo [10.52, 56.83])) with the camera and Clear Current Target , Camera - Lock camera input for player 1. no need for every 0.0001 seconds looping, just put in in the initialization