OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Joukov on 11 Oct 2005, 20:02:22

Title: HELP PLEASE!!!
Post by: Joukov on 11 Oct 2005, 20:02:22
 ???How do you make the game automaticly start the mission after the intro scene animation is done? I destroyed the camera in the camera.sqs and have an exit command, but it still does not go to the mission until i press escape!!! >:(  Im sorry if this q was already answered, its just that ive searched forever for the answer, but still cant find it, so im asking you professionals..... :-*
Title: Re:HELP PLEASE!!!
Post by: yankme on 11 Oct 2005, 23:45:37
endcut = true

exit

did you save mission as pbo? it has to be in pbo.,,, or might be an error in your briefing
Title: Re:HELP PLEASE!!!
Post by: macguba on 12 Oct 2005, 01:25:49
yankme is of course right, at least as far as he goes.   You also need a trigger:-

Type:  End#1
Condition:  endcut

In other words ending the Intro is the same as ending the mission - you need to fire an ending trigger.
Title: Re:HELP PLEASE!!!
Post by: Joukov on 12 Oct 2005, 02:33:07
Thank you all!!! ill try it right now!
oh n sorry for posting his in the wrong place :-[
Title: Re:HELP PLEASE!!!
Post by: 456820 on 12 Oct 2005, 22:48:05
forceend may also work to cancel the intro but it may also skip the mission and go to the outro but its worth a try

edit - just had another idea
in a script you could remove all the weapons of the plane
removeallweapons plane1

then add the name of the weapon and a magazine which you would like fired order a dotarget command followed by a dofire since it only has the weapon you want fired it would be forced to use that, then you would have to re add the weapons and magazines back on
Title: Re:HELP PLEASE!!!
Post by: bedges on 19 Oct 2005, 08:09:49
joukov - if the question you asked has been solved to your satisfaction, press the (http://www.ofpec.com/yabbse/YaBBImages/solve.gif) button, unless you have further questions on this topic.
Title: Re:HELP PLEASE!!!
Post by: Joukov on 22 Oct 2005, 04:23:26
 :-\ This is wierd, i posted some questions like 3 days ago...
here again:
1. Is it possible to set a rank in the identity (so that i would be able to change that rank).
2. How do you declare variable in description.ext? I mean do you have to set the type of the pariable like in "c" ? If yes then what are the different types?
3. Is it possible to change a variable that was declared in the description.ext (in the campaign folder), during the gmeplay?  Eg. If i declare a variable "v" in the description.ext and set it to 1, can i tell the game to automaticly set "v" to say 2 in case of an event?
thnx.....
sorry for the wait...
Title: Re:HELP PLEASE!!!
Post by: bedges on 22 Oct 2005, 12:45:10
:( that is because as explained above, we prefer just one question per thread.

your other questions have been answered in a more appropriate place (http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=26082).

move along now, nothing to see here....


#Locked