Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Script
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Script (Read 912 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:
Logged
macguba
Former Staff
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.
Logged
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?
Logged
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
Logged
macguba
Former Staff
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
Logged
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
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Script
Top of page