OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: 456820 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
-
From the Biki...
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. (http://community.bistudio.com/wiki/ArmA:_Actions#SITDOWN)
-
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.
-
in da init.sqs put a
cutText ["","BLACK FADED"]
LCD OUT
-
Can you make units lay down? If so, what is the correct command?
-
Hello Metball
Try in units init field - this setUnitPos "Down" -
Trigger activation field - unitname setUnitPos "Down"
That should work.
Regards
nettrucker :D
-
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?
-
try playing with the disableAI (http://www.ofpec.com/COMREF/index.php?action=list&game=All&letter=d#disableAI) commands....
da right combination cud make em stil shot but wont move :D
LCD OUT
-
tanks!!