OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started 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..... :-*
-
endcut = true
exit
did you save mission as pbo? it has to be in pbo.,,, or might be an error in your briefing
-
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.
-
Thank you all!!! ill try it right now!
oh n sorry for posting his in the wrong place :-[
-
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
-
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.
-
:-\ 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...
-
:( 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