Home   Help Search Login Register  

Author Topic: End Trigger and Outro Problems  (Read 1251 times)

0 Members and 2 Guests are viewing this topic.

Offline Gubas little helper

  • Members
  • *
  • Gubas real name is John. I would know.
End Trigger and Outro Problems
« on: 29 Dec 2010, 11:55:44 »
Hey Guys
Im getting a few weird errors when it comes to end triggers. Im working on a mission for LOL called the Impossible Mission but none of my end triggers work. I then copied the triggers and scripts into a control mission and they somehow work in that. No end triggers work except the loose trigger! Trigger e.g. : End #1, West, Present, Countdown, Condition: TrueEnd1, On Activation: [] exec "outrowin.sqs". I found out 1 interesting detail however, my init says TrueEnd1 = false. Is this related? In my outrowin I change it 2 TrueEnd1 = True. But, for some strange reason this doesnt work and on top of that my outro doesnt either. My outro exists and yet the camera doesnt target anything because apparently nothing exists! Help!!
2 major problems...

Offline RKurtzDmitriyev

  • Former Staff
  • ****
Re: End Trigger and Outro Problems
« Reply #1 on: 29 Dec 2010, 14:54:56 »
It's really quite hard to say what the problem might be.

When I run into a problem like that, the first step is to isolate the problem. I carefully edit the "control" mission to be like the mission with the problem until the problem occurs. Now I have an idea of what might be causing the problem.

One more thing, just off the top of my head:

Quote
In my outrowin I change it 2 TrueEnd1 = True. But, for some strange reason this doesnt work and on top of that my outro doesnt either. My outro exists and yet the camera doesnt target anything because apparently nothing exists! Help!!

You mention that you're building this mission for LOL. You know that the OutroWin and OutroLoose never work in multiplayer missions, right?
The OFP Editing Center wishes to remind you that the faithful COMREF will never threaten to stab you and, in fact, cannot speak.
However, in the event that it does speak, you are encouraged to heed its advice. ;)

Walter_E_Kurtz

  • Guest
Re: End Trigger and Outro Problems
« Reply #2 on: 29 Dec 2010, 16:17:47 »
Is the mission intended to be multiplayer, as the behaviour of triggers is quite different? (Also, if it is multiplayer, this isn't the correct section of the forum).

Trigger e.g. : End #1, West, Present, Countdown, Condition: TrueEnd1, On Activation: [] exec "outrowin.sqs".

If the triggers condition is as you state, then it won't be tripped until TrueEnd1 is set to true (and it's good practice to set a variable false in init.sqs until it's needed later).

If you want the trigger to be simply West, Present then the condition should read solely: this

Offline Gubas little helper

  • Members
  • *
  • Gubas real name is John. I would know.
Re: End Trigger and Outro Problems
« Reply #3 on: 04 Jan 2011, 09:37:28 »
K thanks I solved the problem as there were sample triggers... and thanks for the outro info. Helps a lot! Actually outro does work but not in the outro portion itself... in the mission