OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: zsa_zsa_rasputin on 11 Sep 2002, 13:24:20
-
Anyone know how to use the "Hangover" cam in the code snippets section...?
(It's just a bit hard to read as it is there - if anyone's got it working themselves or know who made it?)
I'd really like it to use not as a HANGOVER effect, but a CONCUSSED effect ;)
Anyway - if anyone has written a proper commented text file script for it, it would be most appreciated... :)
Ta,
Dan ;D
-
Well, I think I'll update that particular snippet in the Ed Depot, to add the how-to instructions.
Anyway, here's how you do it.
First you copy that code and save it as Hangover.sqs (Whatever you want really)
Then in the mission you execute it with:
[HungOverUnitID] exec"Hangover.sqs"
HungOverUnitID is the name of the unit which will have the hangover. The main thing about this is that the camera will be created at the position of this unit.
There, go crazy with it ;D
Cheers, KTottE
-
Ah-ha!
Thank you - marvellous.
Dan ;D