Home   Help Search Login Register  

Author Topic: OFP crashes  (Read 701 times)

0 Members and 2 Guests are viewing this topic.

Hertog Jan

  • Guest
OFP crashes
« on: 25 Apr 2005, 11:48:13 »
hey,

I have this very weird problem: I have a trigger with in the Act. field the command: trigger1done=true

When I try to preview the mission, OFP crashes to the desktop, without a message or something....
IÂ'm running the 1.85 version (updates wonÂ't  install...damn virus scanner...)
So is anyone familiar with this bug?

Or anyone has another idea how to link 2 triggers, and when both conditions are met, you win the game?

Thnx!!!

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:OFP crashes
« Reply #1 on: 25 Apr 2005, 11:51:21 »
i would suggest retracing your editing steps one by one until you pinpoint the problem. it's unlikely that a trigger on its own will crash flashpoint.

as for the second question, you need only one trigger (i assume), and in the 'condition' field put

Code: [Select]
win_variable1 and win_variable2
that means the trigger will only activate when both win_variables are true...

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:OFP crashes
« Reply #2 on: 25 Apr 2005, 12:00:38 »
I doubt its the trigger.

Make a copy of your mission.   In the copy, delete half of it.  Now Preview and see if it crashes.   Repeat until you find the problem.
Plenty of reviewed ArmA missions for you to play

Hertog Jan

  • Guest
Re:OFP crashes
« Reply #3 on: 25 Apr 2005, 16:01:12 »
I deleted the trigger and it still crashes, also when I saved it as an other mission. Maybe this has something 2 do with: It is build on a custom island wich I downloaded...

I will try it at a official island

EDITED: Well, it also crashes at Nogova...This is very confusing
« Last Edit: 25 Apr 2005, 16:10:42 by Hertog Jan »

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:OFP crashes
« Reply #4 on: 25 Apr 2005, 16:05:24 »
Did you delete some other stuff from the mission copy as well, like macguba suggested...?
It's definately not the trigger that causes the crash...

What actually happens when the trigger1done is set to true?
Does it activate some other trigger that perhaps creates something or executes a script...??
« Last Edit: 25 Apr 2005, 16:06:21 by HateR_Kint »
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Hertog Jan

  • Guest
Re:OFP crashes
« Reply #5 on: 25 Apr 2005, 16:38:08 »
With my copy, I also copied the cutscenes as well to the new missionfolder. I only deleted the trigger with the command trigger1done=true and replaced it without this command. It still crashes, so I can't blame the trigger anymore...
I have previewed this mission several times before so it couldn't be the island...could it?


What happens when trigger1done is true, you have won the game.
I have done this because I have 2 triggers with mission objectives. So when you have the first objective, you also must accomplish the other objective in order to win the game. This last trigger has as specifics Resistance "not present" and the command on the condition field: this and trigger1done=true
It ends the mission with "end1"

Hertog Jan

  • Guest
Re:OFP crashes
« Reply #6 on: 26 Apr 2005, 14:24:17 »
i would suggest retracing your editing steps one by one until you pinpoint the problem. it's unlikely that a trigger on its own will crash flashpoint.

as for the second question, you need only one trigger (i assume), and in the 'condition' field put

Code: [Select]
win_variable1 and win_variable2
that means the trigger will only activate when both win_variables are true...


Okay, but how does the editor knows what the winvariables are? Should I put 1 ObjStatus Done in the activation field of the objectives?

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:OFP crashes
« Reply #7 on: 26 Apr 2005, 15:12:57 »
mkay - you have two objectives. in your init file create two variables - win1 and win2. doesn't really matter what you name them, but make it something which means something to you. set both to false in the init file.

then, in the editor, make an ending trigger with

Code: [Select]
win1 and win2
in the condition field.

now, not knowing what your two objectives are (clear the town, collect the documents, steal the car) i can't really help you with the how, but when your first objective is complete, be it a trigger or script or whatever, set win1 to true.

same with the second objective, make win2 true. as soon as both are complete, the ending trigger will fire.

objstatus is only important when it comes to ticking off the objectives on the briefing, and that's all it's used for as far as i know.

hope this helps. did you find what was crashing?

Hertog Jan

  • Guest
Re:OFP crashes
« Reply #8 on: 26 Apr 2005, 16:51:33 »
I think it's the island I downloaded wich causes the crashes, because only on this island OFP crashes, and only when using those commands...

And I already started to like this island....well..2 bad.. :'(