OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Kilo11 on 13 Jul 2003, 20:56:06
-
Alright, I know how to end a mission, but here is my question.
Can you have more then just 6 endings? If so, how would you end them through a trigger, b/c the Type option only has the availablity for 6 endings. Any help appreciated.
-=Kilo=-
-
DOES ANYBODY KNOW? Can you have MORE* then just 6 endings, and if so, how do you do it? How do you end them. Or, just likes in another thread, how do you end a mission through a script. Come on people! HELP!
Desperate :'(
-=Kilo=-
-
how do you end a mission through a script.
endmission = true
-
endmission = true
wont work ::)
but i think he ment
forceEnd
from da comref
forceEnd
Type of returned value:
Nothing
Description:
Force mission termination.
or u cud (nd dats beter way) - out condition in triger (e.g finsihit)
nd den put in da script
finsihit = true
dere r only 6 mision ends (nd 1 loose end) nd da forceend is da same as end num 1
LCD OUT
-
Hey LCD.
You got "forceEnd" to work ???
Man.... :wow:
(Respect)
I never had any luck with that but hey....(sh*t happens)
Anyway, EndMission = true
with a trigger placed on the map with...
EndMission in the condition field
Works everytime 4 me ;D
:cheers:
Btw, Capital letters are not needed as far as my experience
is concerned (but I could be wrong)
-
cornholio, you are right - caPital lEtters or lower case, it don't matter.
-
So, now if somebody uses the "search function"
(like they should) they will find out ONE of a few
ways to end a mission using a script. the little example mission
only shows one very basic way to do it.
Of course, the way you want to end your mission can be many.
You could set the timer, you could have a d00d die, you could have a few objectives or conditions met.....
(Hmmm, maybe a real tut would be in order here).
The main thing to remember is to activate the script in some manner. Be it waypoint, trigger, throwing an empty beer bottle
at your enemy...
And yes, this is for n00bs like me :-*
corno
-
You got "forceEnd" to work
donno ::)
i dont like dis type of commands ;) :P
da somin = true nd trigers is wat BIS wanted us 2 do ;D - but i tend 2 belive em ::)
btw i posted ur sultuin but w/ oder vari ;)
or u cud (nd dats beter way) - put condition in triger (e.g finsihit)
nd den put in da script
finsihit = true
dere r only 6 mision ends (nd 1 loose end) nd da forceend is da same as end num 1
btw im just back from 2 dayz in oder city doin nothin ::) (yeah right - bein in da beach nd in parties 8) ;)) - so did u miss me every1 ? :D
LCD OUT
-
Yeah man. Everyones been going crazy. We had 2 get a SWAT team in cos Cornholio sed he was gonna kill all these hostages if u werent bak in 2 days ;D
After a 6 hour siege some SAS dudes took Corno down. But he managed to escape and is now on the run :P
The forums had some unanswered questions while you're gone. :hmm: mayb its the OFP god saying that when LCD leaves it disturbs the balance of the OFPEC forums?
OR
mayb not ;D
-
whoa - if its like dat now
wat gonna hapen wen im goin 4 a week dis month ? :wow: :noo:
LCD OUT
-
LCD - No!! I dont even want no. Probably the apocalypse!