Staredit Network

Staredit Network -> UMS Assistance -> Copied Triggers Do Not Work
Report, edit, etc...Posted by EnViZ on 2006-09-29 at 23:12:45
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.
Report, edit, etc...Posted by xmrxsiegecopx on 2006-09-29 at 23:16:19
Triggers copied to another map via Staredit or X-Tra do not keep their location strings.
Report, edit, etc...Posted by DevliN on 2006-09-29 at 23:17:51
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.
Report, edit, etc...Posted by MoonlighTurtle on 2006-09-29 at 23:30:11
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. smile.gif
Report, edit, etc...Posted by EnViZ on 2006-09-29 at 23:31:13
i know the above, everything is enabled, and everything has new locations,etc.
Report, edit, etc...Posted by MoonlighTurtle on 2006-09-29 at 23:52:35
What are the conditions for the center view trigger?
Report, edit, etc...Posted by EnViZ on 2006-09-30 at 06:53:44
Players:
Player 5

Conditions:
Always

Actions:
Center location labeled 'scourge folllow' on scourge owned by Player 5 at "anywhere"
wait 0 milliseconds
preserve trigger.
Report, edit, etc...Posted by xmrxsiegecopx on 2006-09-30 at 07:10:50
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.
Report, edit, etc...Posted by EnViZ on 2006-09-30 at 07:23:29
what do you mean manually?
Report, edit, etc...Posted by xmrxsiegecopx on 2006-09-30 at 07:25:44
Manually as in deleting the triggers and locations used, then recreating them (rather than using some automated program).
Report, edit, etc...Posted by EnViZ on 2006-09-30 at 07:28:31
that is what i did in the first place sad.gif
Report, edit, etc...Posted by xmrxsiegecopx on 2006-09-30 at 07:35:35
I just noticed: your trigger is missing the "center view" action.... wallbash.gif

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".
Report, edit, etc...Posted by EnViZ on 2006-09-30 at 07:44:35
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.
Report, edit, etc...Posted by xmrxsiegecopx on 2006-09-30 at 07:47:59
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.
Report, edit, etc...Posted by EnViZ on 2006-09-30 at 07:52:52
the scourge is created when a switch is activated from another trigger.
Report, edit, etc...Posted by DevliN on 2006-09-30 at 07:54:37
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.
Report, edit, etc...Posted by xmrxsiegecopx on 2006-09-30 at 07:55:04
Is the scourge owned by player 5? And are you are testing the map as player 5?
Report, edit, etc...Posted by EnViZ on 2006-09-30 at 07:55:56
player 5 is a computer player.
Report, edit, etc...Posted by xmrxsiegecopx on 2006-09-30 at 07:58:10
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.
Report, edit, etc...Posted by EnViZ on 2006-09-30 at 08:00:01
the scourge is for a computer player.
Report, edit, etc...Posted by xmrxsiegecopx on 2006-09-30 at 08:02:41
The center view action is effective only on human players. It has no effect on computer players.
Report, edit, etc...Posted by EnViZ on 2006-09-30 at 08:11:02
im not trying to get a center view, i'm trying to get a move location
Report, edit, etc...Posted by xmrxsiegecopx on 2006-09-30 at 08:23:05
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?
Report, edit, etc...Posted by Nintendo_Confed on 2006-09-30 at 20:34:59
It should look like this


null
Trigger
Players:
¤ 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

Next Page (1)