Staredit Network

Staredit Network -> UMS Assistance -> a problem with triggers
Report, edit, etc...Posted by PoorAZNBoi17 on 2006-08-14 at 13:47:37
I have a trigger that is supposed to center view as well as other things, everything else works except the centering view and the display text message, heres the trigger. The centering view and text message doesnt work

Players:Player 2

Conditions
Player 2 kills at least 75 of any unit

Actions
Move all Hunter Killers at anywhere to choosing sides
Move all Jim Raynor(Marine) at anywhere to choosing sides
Move all Jim Raynor(Vulture) at anywhere to choosing sides
Move all Devouring One at anywhere to choosing sides
move all Alexei Stukov at anywhere to choosing sides
Center view for current player at choosing sides
Display for curent player: " you now have enough expierience to choose which side you want to join"
Comment:choosing sides


If anyone could help me that would be great
Report, edit, etc...Posted by Urmom(U) on 2006-08-14 at 14:02:05
Let me get some info first. Is player 2 a computer player or a human? If it's a computer player, you need to set a switch or something to have the center view and display text carry over to the players triggers. Also make sure that Always Display is checked.
Report, edit, etc...Posted by LazyCoder on 2006-08-14 at 14:11:16
Plus, if it is centerviewing, it will pause the trigger until it is done centerviewing, that's why it won't display the text.
Report, edit, etc...Posted by PoorAZNBoi17 on 2006-08-14 at 15:01:34
player 2 is a human player
Report, edit, etc...Posted by Shocko on 2006-08-14 at 16:41:28
if u have it set to like players 1 2 3 4 5 6 or w.e then u shud change it to like force 1 because it will go through like player 1... player 2... ( i think ) and thats how it freaks up. I've had this problem a number of times with text not displaying... ive always fixed it but im not entirely sure how i fixed it i presume this is the reason and yeah i dont bother with sen tutorials... trial and error is the way to go.
Report, edit, etc...Posted by Mp)7-7 on 2006-08-14 at 16:59:04
With your trigger, it would just center the view for player 2, Make it for all players, or have it in every players folder and have current player. Which ever you would like! Will fix your center view and Message!
Report, edit, etc...Posted by fritfrat(U) on 2006-08-14 at 22:58:37
7-7, Shocko, he's telling us that he is trying to do it for just player 2. The rest of the players don't matter.

The way you stated that trigger, it should work perfectly. If it was just the display text that wasn't working, I would say to check that, but neither are working, either meaning:

a. There is a wait you didn't mention and it's not going due to a wait block.

OR

b. It is being run by a different player so the "move unit" stuff happens but the center view doesn't. This is probably the issue.

Double check to make sure you have "random start location" unchecked, and if that's not it, I sugget posting the map. What you posted would simply work.
Report, edit, etc...Posted by Shadow181 on 2006-08-15 at 00:05:13
whenever I have problems like this I just delete the trigger and try to redo the trigger, after retyping the trigger in a slightly different way, w/o working with all the other parts of the trigger I eventually get it.
If that doesn't work I just remove bits of the trigger till it works then find out what I took out that made it work. Other wise yer screwd tongue.gif
Report, edit, etc...Posted by JoJo. on 2006-08-15 at 00:55:31
Like kirby said post the map we can go in and figure it out alot easier
Report, edit, etc...Posted by smilodon on 2006-08-16 at 07:28:03
You can also seek the problem like i do mostly:

1 make a backup
2 delete something on the map, what you think is causeing the problem
3 save and test
4 if you didnt find the problme go back to 2 happy.gif
Next Page (1)