Home   Help Search Login Register  

Author Topic: Player sit down  (Read 1926 times)

0 Members and 1 Guest are viewing this topic.

Offline 456820

  • Contributing Member
  • **
Player sit down
« on: 07 Oct 2007, 18:15:31 »
Hmm well Im kind of stumped with this, I have searched the forums but found no answer.

All I want to do is to have the player sit down, but ArmA just ignores what I tell it to. I have tried switch and playmove with several different sit down animations but none of them work on the player or even AI for that matter.

Am I using the wrong anim, or am I dont something else totally wrong?

this playmove "AmovPercMstpSlowWrflDnon_AmovPsitMstpSlowWrflDnon"

Is what im using in the players init field but he is always standing up when the mission starts.
Any ideas? cheers

Offline hoz

  • OFPEC Site
  • Administrator
  • *****
Re: Player sit down
« Reply #1 on: 07 Oct 2007, 19:29:12 »
From the Biki...

Quote
3.36 SITDOWN

unitOne action ["SITDOWN", unitTwo]

Soldier 'unitTwo' sits down.
Sitting position will only be held if unitTwo is in SAFE and CARELESS mode.

Example: SoldierOne action ["SITDOWN", SoldierOne]

Biki Actions[url]

hope it helps.
Xbox Rocks

Offline 456820

  • Contributing Member
  • **
Re: Player sit down
« Reply #2 on: 07 Oct 2007, 19:56:22 »
Yep thats working perfectly, however I do have a second small problem.

I am trying to make it so when the mission starts teh screen is black, I've tried the fade in/out trick from OFP but this isnt working in ArmA so I always get that split second before the screen is black.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: Player sit down
« Reply #3 on: 07 Oct 2007, 21:55:48 »
in da init.sqs put a

cutText ["","BLACK FADED"]

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

Offline Meatball0311

  • Members
  • *
Re: Player sit down
« Reply #4 on: 08 Oct 2007, 17:33:15 »
Can you make units lay down?  If so, what is the correct command?

Offline nettrucker

  • Members
  • *
  • Too young to die-OFP Campaign by TOY & nettrucker
Re: Player sit down
« Reply #5 on: 10 Oct 2007, 18:41:16 »
Hello Metball
Try in units init field - this setUnitPos "Down" -
Trigger activation field - unitname setUnitPos "Down"
That should work.
Regards
nettrucker :D

Offline Meatball0311

  • Members
  • *
Re: Player sit down
« Reply #6 on: 18 Oct 2007, 05:15:08 »
thanks nettrucker it works perfectly. 
next question,

I have some african militia on roof tops,  I know I say this setUnitPos "MIDDLE" to have them in the crouch position.  But when they take fire they go prone and then run off of building.

Is there a way for me to permanently keep them in that position even when they take fire?

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: Player sit down
« Reply #7 on: 18 Oct 2007, 12:21:03 »
try playing with the disableAI commands....

da right combination cud make em stil shot but wont move :D

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

Offline Meatball0311

  • Members
  • *
Re: Player sit down
« Reply #8 on: 18 Oct 2007, 16:10:18 »
tanks!!