Home   Help Search Login Register  

Author Topic: Script  (Read 914 times)

0 Members and 1 Guest are viewing this topic.

fragger

  • Guest
Script
« on: 23 Feb 2003, 18:54:49 »
How do u destroy a script from within the game? ???
cheers :cheers:

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Script
« Reply #1 on: 23 Feb 2003, 18:57:56 »
What do you mean by destroy a script?    Tell us more about what you are trying to do.   :)

If you simply want to stop it running use a variable.



Plenty of reviewed ArmA missions for you to play

fragger

  • Guest
Re:Script
« Reply #2 on: 23 Feb 2003, 19:06:15 »
I wanted to stop a script from running. i hav a script with sum stuff on in it on a continuous loop. i wanted it so that if u walk into a trigger then the script is stopped, destroyed. cud u plz tell me how to use a variable to stop running it?

fragger

  • Guest
Re:Script
« Reply #3 on: 23 Feb 2003, 19:12:28 »
wud u put in the activation field "stop=true" then in the script
? stop: goto "end"
........
#end
exit

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Script
« Reply #4 on: 23 Feb 2003, 19:50:21 »
yep, you got it.

obviously make sure that line of code is within the loop
Plenty of reviewed ArmA missions for you to play

seanver

  • Guest
Re:Script
« Reply #5 on: 23 Feb 2003, 21:38:48 »
Hmmm, I think that fragger's script could be reduced into this:

? stop : exit