Home   Help Search Login Register  

Author Topic: EDITING, Soldier Position  (Read 925 times)

0 Members and 1 Guest are viewing this topic.

Offline Dbl-Dutch

  • Members
  • *
EDITING, Soldier Position
« 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.

_hammy_

  • Guest
Re:EDITING, Soldier Position
« Reply #1 on: 20 Jan 2003, 05:02:10 »
Code: [Select]
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 :(

Bronski

  • Guest
Re:EDITING, Soldier Position
« Reply #2 on: 20 Jan 2003, 06:22:34 »
This is what you need in the init field:

Code: [Select]
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.
« Last Edit: 20 Jan 2003, 06:25:38 by Bronski »

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:EDITING, Soldier Position
« Reply #3 on: 20 Jan 2003, 08:46:43 »
u cant useanims from da init line ;D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

_hammy_

  • Guest
Re:EDITING, Soldier Position
« Reply #4 on: 20 Jan 2003, 09:22:51 »
ummm, ive done it before...

Offline Dbl-Dutch

  • Members
  • *
Re:EDITING, Soldier Position
« Reply #5 on: 20 Jan 2003, 11:04:48 »
I just want the soldier in question, sat down at the start of the mission ::) and thanks for all the replies so far ;D

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:EDITING, Soldier Position
« Reply #6 on: 20 Jan 2003, 11:21:04 »
just give him wp (put it on him)

with da

unitname switchmove "anim"

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:EDITING, Soldier Position
« Reply #7 on: 20 Jan 2003, 11:42:43 »
Quote
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
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

Gameer_77

  • Guest
Re:EDITING, Soldier Position
« Reply #8 on: 20 Jan 2003, 12:48:24 »
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