Home   Help Search Login Register  

Author Topic: script exiting  (Read 780 times)

0 Members and 1 Guest are viewing this topic.

kingneb

  • Guest
script exiting
« on: 24 Apr 2003, 02:09:44 »
how do you exit a script when you execute another?

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:script exiting
« Reply #1 on: 24 Apr 2003, 07:52:36 »
type exit in your script?
Not all is lost.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:script exiting
« Reply #2 on: 24 Apr 2003, 11:11:09 »
If you mean that you want scriptB to control when scriptA ends, use a variable

scriptA
--------
#loop
~1
blah blah
? endA:exit
goto "loop"


scriptB
--------
endA=true
Plenty of reviewed ArmA missions for you to play

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:script exiting
« Reply #3 on: 24 Apr 2003, 11:41:54 »
Oh shit, you've done it again.

Never post a question on two boards.    If it's on the wrong board, a mod will move it.   If it's one of these questions that could go on either, then choose.  If you don't get an answer on one then, if you ask a mod very nicely, they might consider moving it for you.

One problem = one thread

Plenty of reviewed ArmA missions for you to play