I am making a FPS or First Person Shooter map or on SC BW Sniper map.
I am making a scope.
i want it so wen u use the use scope beacon it makes the scope on ur location of your guy but there are 2 problems.
It will either center loc on ob and make it do nothing or if it does work (which i can do with some bf locations) i want it so wen u move scope goes away.
Help?
dunno how 2 help you with your first problem because i dunno how you did your trigger but for the 2nd problem with removing the scope when the person moves his/her unit use these triggers:
Condition:
player x brings at least 1 observer to anywhere
switch 1 is cleared
Action:
center location labled location 1 on terran marine for player x
set switch 1
preserve trigger
---
Condition:
switch 1 is set
player x brings exactly 0 terran marine to location 1
Action:
remove all observer for player x
center location on location 1
clear switch 1
But the location is always on the unit so it will never work.
Please Help some one.
I'm not exactly sure what you are trying to do but I'll give you some advice, that can be changed easily to fit your needs.
Condition:
Bring any unit to scope beacon
switch 1 is cleared
Action:
set switch 1
move any unit at scope beacon back to other spot
center location A on unit
center view on location A
create observer at location A
preserve
Condition:
Commands 1 observer
switch 1 is set
Action:
Center location B on observer
Center view on location B
preserve
Condition:
Switch 1 is set
Brings 0 unit other than observer to location A
Action:
clear switch 1
remove/kill observer
preserve
That should work
The first trigger makes it so when you move a unit to the scope beacon, it moves the unit back, creates an observer at your main unit, and centers view there.
The second trigger just makes it constantly center a different location on the observer, and center view there
The third trigger is for detecting when the main unit leaves location A, which therefore means that the player has moved his unit, which makes the scope go away.
EDIT: The key to detecting when the main unit has moved, is to center a location on it ONCE, so that if that unit never moves it will always be on the unit. Yet, when you move the unit, it will be leaving the location, and the location isn't centered back on it.
I hope that's what you wanted.
TY TY TY!
This just might work!
So when you activate the beacon, it creates an observer that does nothing except helps you see?
EDIT: Trigs removed. Devilisk beat me to the punch.
Yea, that's the same thing as mine, except I had an extra trigger that centers the view on observer, not sure if you wanted that though.

Thanks guys.
ADDITION:
Actually...
its not working.
i was wondering dev,could i meet u in SC and either talk to u about it or even have you take a look?please?
How is it not working? You must be doing something wrong.
I dunno,isnt working....oddd
thats y i want u to look at it...
PLEASE!???
actually i was helping him with this,the concept is bringing a unit to a beacon to make it so it creates a observer at a centered location on a unit. and when u bring it to a diff beacon, the observer dissapears.
I thought he wanted it so that when you move your main unit, the observer disappears?
Element, post your map.
i dunno, hes going in for a new method this time

element post ur map, so they can fix it

Okay I made a simple example following the triggers above that I posted exactly, and it works just like I thought it would
BTW: In the example map, if you don't want it to constantly center view on the obesrver then just disable/delete the second trigger.
wow devilesk u actually did that. that was nice of u
