OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Sane Lemming on 03 May 2003, 11:21:19
-
A lot of you will not know me - the rest of you will also not know me :)
I used to do a lot of OFP editing back in my day (listen to me, I sound like an 80yr old, where as im only 18). The problem is, I have left it off for about a year, and as a result have gotten completely rusty - on everything!
So, I need someone to rake up a few tutorials on these subjects:
1) Having a chopper load up its passengers, take off, move to a waypoint, land, disgorge its passengers, take off, then either patrol the area or move off somewhere.
2) Having a trigger that loses the mission if a certain soldier/vehicle is killed.
3) Having a trigger that sets off a cut-scene when a certain vehicle/soldier passes through it.
I have more topics I need help on, but those 3 are that I can think of.
-
1.) Plenty of tutes available on this. Check the ed depot
2.) In the triggers condition field write "not alive unitname"
3.) In the triggers On Activ. field write [] exec "scriptname.sqs"
surely u remember about scripts right? but you probaly don't remember all the commands for scripting. so check the ed depot on cam scripting tutroials to remind yourself on how to create a cutscene and other stuff
-
well, bob, #2 is just a condition:
!(alive bob)
...which means: " is Bob alive? - if not, then..." (whatever U put in the Activation field)
simply NAME the unit in his name field when ya create him! :-*
As for choppers - plz pay the Ed. Depot a visit ;) loads of good tutes there.
The cutscene is best made using scrolls (sqs files in the mission folder).
If Bob needs to fire the scene, just put:
Bob in Thislist
as condition. :) You can also just hit the F2 button and drag a grouping line from trig to Bob.
Then he's the only one who can fire the trigger :-*
Sö, Bob can execute the script:
[bob] exec "camScene.sqs"