I'm making a map where you will need to go to checkpoints. The checkpoints are beacons with a region at it.
I don't know any good way but i thought if i place regions where the beacon is and then use the Unit Enter region to check.
Anyway when a unit walks over the beacon i want an effect to show up. Like a light or another effect that shows that you got the checkpoint. How can I do this? Cant seem to find any good way....
Ty for answer.
PS. is it possible to change the color of the beacon to the owner of the entering units color?
You could store all the points into an array and then do a foreach over the array until a point in the region is found, still a bit messy but would eliminate the need of a switch or a lot of If/Else statements(Just 1 would be needed).
Ty, thought i would need to do this. My problem is that I've got nearly 150 points :S
Well, the region and the points is placed in a way that there will always be a point in the region.
But even if there isn't a point then if there were a function of some sort it should tell me that there isn't any point there?
I want this because the created unit needs to be placed in a middle of a square (the position of the point).
I'm making a a spawning trigger.
I have a unit and a region attached to that unit. And then I have some points placed on the map. (Named Point 001 - 002.....)
Now the trigger: whenever i press Space (in my case) the trigger will run and will spawn a unit. But the unit needs to spawn at one point that is inside my attached region.
So is it possible to like scan the region for points and maybe get the coordinates? Or is there any other way to "find" an existing point??
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.
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
I've got a map with some burrowed Zerglings and a Hydralisk.
When my unit enters the region near the burrowed units they shall unburrow.
I got the part with regions and stuff but can't find a burrow/unburrow related trigger....
0
I'm making a map where you will need to go to checkpoints. The checkpoints are beacons with a region at it.
I don't know any good way but i thought if i place regions where the beacon is and then use the Unit Enter region to check.
Anyway when a unit walks over the beacon i want an effect to show up. Like a light or another effect that shows that you got the checkpoint. How can I do this? Cant seem to find any good way....
Ty for answer.
PS. is it possible to change the color of the beacon to the owner of the entering units color?
0
You mean Pimp My Probe. lol
0
@ezbeats: Go Im going to make a Bomberman game.
Edit: and in every "brick" I have a point
0
@ezbeats: Go
Thanks, will try it.
Ty, thought i would need to do this. My problem is that I've got nearly 150 points :S
0
Well, the region and the points is placed in a way that there will always be a point in the region.
But even if there isn't a point then if there were a function of some sort it should tell me that there isn't any point there? I want this because the created unit needs to be placed in a middle of a square (the position of the point).
Hope you understand.
0
Hello.
I'm making a a spawning trigger. I have a unit and a region attached to that unit. And then I have some points placed on the map. (Named Point 001 - 002.....)
Now the trigger: whenever i press Space (in my case) the trigger will run and will spawn a unit. But the unit needs to spawn at one point that is inside my attached region.
So is it possible to like scan the region for points and maybe get the coordinates? Or is there any other way to "find" an existing point??
Ty for help.
0
Thanks m8. Worked excellent.
0
I am making an objective where you are supposed to gather 3 barrels. When you get 1 a Integer variable will increase by 1.
Then a text will follow and I wonder how to get my integer line into the string.
Have no idea but maybe like this: "Barrels: <integer> /3"
Ty in advance.
0
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.
0
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
0
Oh hi!
I've got a map with some burrowed Zerglings and a Hydralisk.
When my unit enters the region near the burrowed units they shall unburrow. I got the part with regions and stuff but can't find a burrow/unburrow related trigger....
Anyone got a clue? Ty in advance. -Ralme