OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Dbl-Dutch on 20 Jan 2003, 04:19:16
-
I was trying to get a enemy soldier/s to sit around a fire. This is the INITIALIZATION scripped i used. It dont work???
the [ ] represent the INIT box:
[this switchmove "EffectStandSitDown"] and that has no effect. I also had the following included in the INIT box: [this switchmove "EffectStandSitDown"; this removeWeapon "AK74"; this addWeapon "KEGak107"] and that didn't work appart from the weapon did get changed as requested.
Help please. Thank you.
-
this switchmove "ANIMATION_NAME"
:P
make sure u have the right animation name, I would tell you what it is, but i lost my animation list :(
-
This is what you need in the init field:
this setbehaviour "safe"; this switchmove "EffectStandSitDown"
Do make sure that is the right animation.
If you want to do an animation that the soldier does when his rifle is on his back you need to have them in safe mode.
-
u cant useanims from da init line ;D
LCD OUT
-
ummm, ive done it before...
-
I just want the soldier in question, sat down at the start of the mission ::) and thanks for all the replies so far ;D
-
just give him wp (put it on him)
with da
unitname switchmove "anim"
LCD OUT
-
u cant useanims from da init line
I wouldn't generalize that LCD
Since an init-field is also just an auto-executed
onActivation field, you can use it to execute anims from.
It surely depends on: what you want to animate, but
theoretically it's possible.
~S~ CD
-
It surely depends on: what you want to animate, but
theoretically it's possible.
No it's not. ;D
You can't put animations in the unit's init. Full-stop. :)
Gameer