Staredit Network

Staredit Network -> UMS Assistance -> Move locations with time triggers
Report, edit, etc...Posted by whaaaaat02 on 2005-08-03 at 08:31:57
Hello

Im working on a map, but before everything begins i want to make a movie. I can do move locations but when i have to switch between locations it gets wrong. It begins with Loc1 then after 4 game seconds it shifts to Loc2 but it only shows Loc2 for a second or so and then heads back to Loc1. I need that second to increase by like say 5 seconds and then it needs to go back to Loc1 for 5 seconds and back to loc2 ...etcetc

- Yes i have searched the forums and tutorials
- U can download my map to see the triggers and if you start it up you see whats wrong for your self.


Hope someone can help me
Report, edit, etc...Posted by (U)Bolt_Head on 2005-08-03 at 08:50:47
The Condition "Elapsed Scenario time is exactly 4 game seconds" is only true for one second.

You will have to do your triggers differantly if you want the center screen to alternate every 5 seconds.

Trigger
Players:
¤ Player 8
Conditions:
¤ Always
Actions:
¤ Wait 5000 milli seconds
¤ Toggle Switch 1
¤ Preserve Trigger


Trigger
Players:
¤ Players 1-4
Conditions:
¤ Switch one is Clear
¤ Player 8 commands at least one marine
Actions:
¤ Center location 'center veiw' on marine owned by player 8 at anywhere
¤ Center Veiw for current player at centerveiw
¤ Preserve Trigger


Trigger
Players:
¤ Players 1-4
Conditions:
¤ Switch one is Set
¤ Player 5 commands at least one zergling
Actions:
¤ Center location 'center veiw' on zergling owned by player 5 at anywhere
¤ Center Veiw for current player at centerveiw
¤ Preserve Trigger


PS. There are many ways of doing this, this is what i understand you are trying to do.
Report, edit, etc...Posted by whaaaaat02 on 2005-08-03 at 16:21:52
I'll have to try tonight cuz i have to work now angry.gif But thnx anywayz. And switches i really never understood, ill do some more reading on that tonight biggrin.gif be back in 5 hours lol

ADDITION:
yes its very good but i need the view to go back and forth from the marine to the zergling(s) like 5 times 1time marine then to zergling then to marine then to zergling then to marine. I thought i just repeat your triggers but it doesnt seem to work
Report, edit, etc...Posted by (U)Bolt_Head on 2005-08-05 at 00:30:20
I forgot to put preserve Trigger on my first trigger in my sample. I corrected it!
Report, edit, etc...Posted by whaaaaat02 on 2005-08-09 at 09:30:22
ok thnx i think i get it now

ADDITION:
Well i've encountered a new problem. After the view switched back from marines to zerglings a few times, the latest view is at a marine now, then i want the view to go to loc bunkermovein. I dont know what im doing wrong but if i repeat your triggers and change the loc to bunkermovein it switches back and forth between marine zerglings and bunkermovin.

What i want is when the view followed the marine when he's shooting the zerglings after a few seconds i want the view to go to bunkermovin and then after a few seconds, after the zerlings past i want "normal view" meaning nomore centerview etc

I wouldnt ask if i didnt tried



Hope u get me blink.gif check the new download

ADDITION:
can anyone helpme???

ADDITION:
Anyone? sad.gif
Report, edit, etc...Posted by (U)Bolt_Head on 2005-08-09 at 23:20:23
I don't understand what your getting at.
Report, edit, etc...Posted by whaaaaat02 on 2005-08-10 at 08:34:17
The last centerview is at the marine in the middle.After a few seconds i just want the view to go to the location bunkermovein.

Once its there i want it to stay there for a few seconds (say 5sec). Then stop the centerview so u can move around with the "view" again.

Hope this helps

ADDITION:
[attachmentid=12780]ok i tried and tried again, i added some music, I can get the view to go to the location bunkermovein but it doesnt stay there. so thats one thing i need help with

Second is: Once it stays there after a few seconds i dont want centerview i wanna move around with my cursor again. How do you do that

I dont think i can be anymore clearer.

New download check it
Report, edit, etc...Posted by (U)Bolt_Head on 2005-08-10 at 13:48:08
I get really annoyed when i help people who then change there mind on what there doing. From reading the first post I got the impression that you wanted to be center viewed on one unit for 5 seconds then switch to the other, back and forth indefinitely. Now your talking about a “last” center view witch implies a start and end to your sequence. In witch case you have never stated when you want to start this.

From your second post, you seem to want to detect things that are impossible to detect “ What i want is when the view followed the marine when he's shooting the zerglings after a few seconds ” You can’t detect when a marine is shooting at zerglings, so you wouldn’t know what was a few seconds after that event. I don’t even know what you mean by “after the zerglings past”.
Report, edit, etc...Posted by whaaaaat02 on 2005-08-10 at 15:46:04
[attachmentid=12792]ok im sorry, i didnt know that it was so important for me to mention a "last" centerview and a start as you stated. Which screws up the whole triggers you gave me, i assume.

Secondly, my english is probably failing me, to say it nicely.Sorry about that. If you download my map again the latest download in this reply

- You will see for yourself that the last centerview is pointed at the marine.

- From there on there should be a "wait" for 4 seconds. Or any other trigger that does the task right for waiting 4 seconds.

- Then after those seconds, the location which i named "Bunkermovein" should be centerviewed.

- That was the last centerview, so after again 4 seconds it should stop centerviewing.


Im sorry if i made you mad.gif but im pretty frustated myself with no progress and all
Report, edit, etc...Posted by (U)Bolt_Head on 2005-08-10 at 20:04:50
Ok not to be Offensive or anything but your triggers are really 'newb'. But thats fine ignorance is ok its just nice to know your basic skill level.

First off this is very important that you know what the preserve trigger is.
PRESERVE TRIGGER: Is a action put in a trigger that makes it so your trigger can fire over and over again as long as its conditions are true.

So with preserve trigger you don't need to make all the copies of those triggers or use differant elaspsed times for your toggle switch trigger. (now i understand why it 'ended on marine' when it shouldn't have ended at all). But i'm not sure if you want any of that at all.




Anyways Are you trying to switch back and forth a set amount of times? Or just do one then the other then stop. I'm still confused on what exactly your trying to do.

It looks like you just want to make a basic action sequince, not something that will be repeated many times thoughout the game. So if you could. Please tell me what you want:
- When & where you want it to center first
- How long it waits before the next time it centers and where
- List how many times you want it to happen

PS. What is your native launguage?
Report, edit, etc...Posted by whaaaaat02 on 2005-08-13 at 07:45:57
Yes im a newb, but no ignorance is not ok, thats why im asking for help.

Okeeeey, let me explain this :poo: again

Im trying to switch back and forth between the marine and the zerglings, but i need it to stop when the marine is shooting the zerglings(that does not have to be detectable like you said), then i need the view to go to the loc bunkermovein and it should stay there for 5 seconds then after the 5 seconds no more centerview etc.

So:

- 1st centerview should be at the marine at loc centerview1 for 5 seconds

- After those 5 seconds the 2nd centerview should be at the zerglings at the loc ??(u have stated in your triggers this should also be centerview1 which is where the marine is at, but there is a loc called zergfollow the place where the zerglings start moving) also stays on one of the above mentioned locations for 3 seconds.

- After those 3 seconds the 3rd centerview should be on the marine again at loc centerview1 for 3 seconds

- After those 3 seconds the 4th centerview is at the zerglings at location ... for 3 seconds

- After those 3 seconds the 5th centerview should be at the marine at loc centerview1 for 4 seconds

- After those 4 seconds the 6th centerview should be at the zerglings at loc... for 3 seconds

- After those 3 seconds the 7th centerview should be at the marine at loc centerview1 for 4 seconds


- Then after those 4 seconds the 8th centerview should be at the bunkers at the location bunkermovein for 4 seconds. Then after those 4 seconds nomore centerview, no more move locations etc.

So you could say that the 1st till 7th centerview is a sequence and the 8th centerview is seperate as a trigger i think. This is only for the beginning intro movie thing, then after the 8th centerview. the actual game should start. Which is gonna be a breeze making after this is done biggrin.gif

PS. Lets just say that i was drunk, and that my english is perfect now w00t.gif

PS. whats your native language ?


thnx for the help appreciate it

ADDITION:
anyone?

ADDITION:
How come nobody can help? mellow.gif
Report, edit, etc...Posted by Staredit.Net Essence on 2005-08-15 at 20:07:38
lol bolt, what is this word "noob" you speak of?
Report, edit, etc...Posted by whaaaaat02 on 2005-08-16 at 08:26:14
This is what you have to add? Your talking like you can do this stuff mentioned above. But you probably cant so stfu

ADDITION:
close this topic
Report, edit, etc...Posted by Staredit.Net Essence on 2005-08-16 at 08:59:29
dont want waits? here is the modified version of bolt's to make it wait free

P(A Comp Player):
conditions: switch 1 is set
actions: modify deaths for current player: add 1 for independent cc
Actions: Preserve Trigger

P(A Comp Player):
Conditions: switch 1 is set
Conditions: (Comp player) has suffered Exactly 60 deaths of independent cc
Actions:Toggle Switch 2
Actions: Set Deaths For P(Comp Player) to 0 for independent cc
actions: Preserve Trigger

then for the rest of the triggers use bolt's
except replace switch 1 with switch 2
switch 1 is for when you want the center viewing to stop, clear it
switch 1 should start out set
Next Page (1)