Home   Help Search Login Register  

Author Topic: Make a unit sit down  (Read 594 times)

0 Members and 1 Guest are viewing this topic.

Loup-Garou

  • Guest
Make a unit sit down
« on: 09 Nov 2003, 19:20:18 »
How can I make a unit sit down in the editor (init field of the unit)? :-\

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Make a unit sit down
« Reply #1 on: 09 Nov 2003, 19:25:26 »
You need the command playmove or switchmove and the appropriate animation.    Learn how to use the commands from the command reference:   there is a complete listing of the animations in the Ed Depot - tutorials - references.

Unfortunately some (all?) playmove commands don't work in the init field of the unit.    Give him a waypoint at his starting position and put the command in there.  Alternatively use a script.
Plenty of reviewed ArmA missions for you to play

Loup-Garou

  • Guest
Re:Make a unit sit down
« Reply #2 on: 09 Nov 2003, 19:32:11 »
AAARRGGG !!! I feel unlucky today  :o, but thank for your answer, MacGuba :cheers:

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Make a unit sit down
« Reply #3 on: 09 Nov 2003, 19:46:05 »
If I recall correctly:

soldiername switchmove "StandToSitDown"

But I'm not sure the soldier will remain sitting for long.


Planck
I know a little about a lot, and a lot about a little.

Loup-Garou

  • Guest
Re:Make a unit sit down
« Reply #4 on: 09 Nov 2003, 19:53:55 »
YEH ! Thank you, Planck. You're really a cool guy  :cheers: Go us !

Loup-Garou

  • Guest
Re:Make a unit sit down
« Reply #5 on: 05 Dec 2003, 12:31:30 »
I found another solution (the other doesn't work) : Unit---> Initialization : playmove "EffectStandSitDown" . Note that I didn't try it yet.  ::)

Pipski

  • Guest
Re:Make a unit sit down
« Reply #6 on: 05 Dec 2003, 15:10:09 »
It works.

Loup-Garou

  • Guest
Re:Make a unit sit down
« Reply #7 on: 17 Feb 2004, 14:57:29 »
In the init field : this setBehaviour "safe";this switchMove "effectstandsitdown"

Note : it seems to work better when military units aren't in a squad. The civilians stand up after a few seconds, but I read that the solution seems to be this one : give to the unit a "HOLD" waypoint an put the code here.   ;D