Hi all guys. I would like to create a mission where an AI soldier will sit on a chair. plz help me....
Hi all guys. I would like to create a mission where an AI soldier will sit on a chair. plz help me....
I don't know if the chair is in OA too, but in A2 there is "FoldChair_with_Cargo". You can use this chair like a vehicle, order the AI to getIn and he will sit there.
Otherwise, you're bound to make use of some sitting animation and attaching the soldier to the chair...
This does not work. I really need a chair in OA!!
EDIT: I found a chair but I am unable to get an NPC to sit on the chair.
Chair name is "Land_Chair_EP1"
This is as close as I can get.
http://img267.imageshack.us/img267/6...1621023011.jpg
Last edited by Toasticuss; Jul 17 2010 at 01:55.
[OA][CO-OP/SP] Operation Black Thunder - 100% Complete
[OA][SP] Operation Iron Fury - 100% Complete
[CO][CO-OP - MP] Operation Cyclone (Utes) - 60% Complete - Needing multiplayer testers, please private message me if interested..
Taking mission suggestions.
try setDir to get him facing the other way?
Thanks hes almost there.
Now it looks like this - http://img28.imageshack.us/img28/530...1621100343.jpg
Should I just backing up one of the axies?
Also I have an animation loop but it keeps being interrupted when I come near him. So he lays down. Anyway to prevent that?
UPDATE: Ugh, just changing the X axis digit by 1 will make him go way back like this
http://img84.imageshack.us/img84/242...1621153229.jpg
I am spawning the chair with a trigger and using the exact same coordinates as the NPC so it should be perfectly aligned right? Is this a game engine fault?
Trigger activation -
myChair = "Land_Chair_EP1" createVehicle getPos player;mychair setPos [4133.93,4137.94,0.00145721];"
NPC init = "warlord1 setBehaviour "careless";anim2 = [this,"sitRfl_R_BidleLoopTest",true,false] execVM "scripts\animLoop.sqf";warlord1 allowFleeing 0;warlord1 disableAI "MOVE";warlord1 disableAI "AUTOTARGET";this disableAI "TARGET";warlord1 setPos [4133.93,4137.94,0.00145721];warlord1 setDir 360"
Last edited by Toasticuss; Jul 17 2010 at 02:13.
I can't help you with the animation loop but when changing the Axis you can do increments smaller than 1 for example 0.1 or 0.01
I don't have OA yet so I don't know if there may be another chair type that will work better.
This is all thats posted on ArmA Holic so far.....
http://www.armatechsquad.com/ArmA2Cl...cts/furniture/
ummm..i got the folding chair and table in OA..and i thought at first its because i had A2(duh), but i removed A2 cmpletly and i still have the folding chair and table! but i still would like to know how to get the AI sit in a chair!
"Respect is the key to life... with out it we have nothing!"
Computer Specs:
=============
Dell Studio XPS 8000
Windows 7 Home Premium, 64-bit
Intel(R) Core(TM) i7 CPU - 860 @2.80GHz 2.79 GHz
Nvidia Geforce GTX 460
DirectX® Version 11.0