OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Armo-X- on 17 Jun 2004, 07:55:06
-
Firstly, is it possible to get a soldier to throw a smoke via a script? or a trigger?
Secondly, is it possible to record demos of yourself whilst playing?
Thirdly what about making a soldier shoot a flare from his m203?
- Thanks in advance
-
Yep, it sure is.
There are two fire commands, differing the arguments they take. The easy one is just something like
loon1 fire "flare"
loon1 fire "smokegrenade" might work, dunno. Check the command references for syntax and hunt around the forum for examples.
In general, any line of code can go in a script or the on activation field of a trigger or waypoint - it doesn't make any difference.
I believe there is some way of recording a video of a game: not my field though. Use the forum search function, it has been mentioned once or twice.
-
Danke!
-
you could use Fraps 1.9d to record yourself playing to mpg. So it's not a real demo.