OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: jim272 on 18 Jan 2003, 23:12:42

Title: Player actions don't work
Post by: jim272 on 18 Jan 2003, 23:12:42
I'm writing a script where the screen fades out to black and before it back I want the player (t1) to do the following:

chalk1 setBehaviour "SAFE"
t1 action ["TAKEOFF GOGGLES"]
t1 action ["SITDOWN"]

First of all can I change my group behaviour to "safe" if I am the commanding officer without using the radio?, because that doesn't seem to work.  The two actions commands don't work either, and I'm not sure why.

[edit] The fading part works so I didn't include it :)
Title: Re:Player actions don't work
Post by: MorMel on 19 Jan 2003, 02:59:20
I HAVE NO IDEA HOW YOU CAN TAKE OFF THE NVGs.

But you can sitdown by unis 'switchmove' or 'playmove' commands:

player switchmove "StandToSitDown"

Remember that most of the 'actions' don't work in the way they're defined by tutorials. Just actions like 'eject' or 'put' do work.