I copied triggers from one of my previous maps and put them on a newer map (SCPM was used on new map). All the triggers seem to be functioning pretty well except for a centering location trigger which doesn't seem to be doing anything. Units are named correctly and accordingly. Switches are right, nothing repeats. Locations are named correctly. I have had a person access my map and check for errors, however he found none. i cant seem to find out why my center view location is messed up.
Triggers copied to another map via Staredit or X-Tra do not keep their location strings.
I don't know if this applies to SF or SCM Draft, but usually when you import triggers, anything that requires a location or a specific unit is disables. That may be why they don't work for you.
But then again, it may not disable them in SF or SCMD.
QUOTE
I don't know if this applies to SF or SCM Draft, but usually when you import triggers, anything that requires a location or a specific unit is disables. That may be why they don't work for you.
But then again, it may not disable them in SF or SCMD.
I believe they disable as a result of what Golden_Knight said:
QUOTE
Triggers copied to another map via Staredit or X-Tra do not keep their location strings.
Just piecing things together, forming a conclusion.
i know the above, everything is enabled, and everything has new locations,etc.
What are the conditions for the center view trigger?
Players:
Player 5
Conditions:
Always
Actions:
Center location labeled 'scourge folllow' on scourge owned by Player 5 at "anywhere"
wait 0 milliseconds
preserve trigger.
Have you tried manually recreating the center view triggers and locations alltogether?
It could also be a simple problem, such as the trigger or unit being owned by the wrong player.
Also, I fail to see any reason why you would need that wait action.
what do you mean manually?
Manually as in deleting the triggers and locations used, then recreating them (rather than using some automated program).
that is what i did in the first place
I just noticed: your trigger is missing the "center view" action....
This is how your trigger should look like:Trigger |
Description: |
Players you want to Center View on Scourge |
|
Conditions: |
¤ Always. |
Actions: |
¤ Preserve trigger.
|
¤ Center location labeled "Scourge Follow" on scourge owned by player 5 at location "anywhere".
|
¤ Center view for current player at location "Scourge Follow". |
i'll try that.
ADDITION:
nope it doesnt work,
I did the next best thing i think, and made myself centerview on the location to see where it is going, turns out it drifts off to some other spot and doesn't go back.
Is that spot the center of the map?
If so, the problem is that the location is trying to center view on player 5's scourge, even though it does not exist.
the scourge is created when a switch is activated from another trigger.
Yeah, if its centering the location on the Scourge at the "Anywhere" location, you're view moves tot he center because there is no Scourge. Or there is, but its not owned by Player 5. Other than that, the trigger is flawless. There's either no Scourge or no Scourge owned by Player 5.
Is the scourge owned by player 5? And are you are testing the map as player 5?
player 5 is a computer player.
The entire time, the problem was that the trigger was owned by the wrong player.
You need to change the ownership of the trigger to the players that you want to center view on the scourge.
the scourge is for a computer player.
The center view action is effective only on human players. It has no effect on computer players.
im not trying to get a center view, i'm trying to get a move location
QUOTE(EnViZ @ Sep 30 2006, 05:10 AM)
im not trying to get a center view, i'm trying to get a move location
[right][snapback]570081[/snapback][/right]
QUOTE(EnViZ @ Sep29 2006, 08:12 PM)
i cant seem to find out why my center view location is messed up.
[right][snapback]569950[/snapback][/right]
....
Then exactly, explain in great detail, what is your problem with the move location?It should look like this
Trigger |
nullPlayers: |
¤ player 5 |
Conditions: |
¤ Something to delay trigger untill after scourge has been created |
Actions: |
¤ Center Location "location name" on Scourge owned by player 5 at anywhere
|
¤ Preserve Trigger |