Home   Help Search Login Register  

Author Topic: Sitting in Chairs  (Read 541 times)

0 Members and 1 Guest are viewing this topic.

Mr.X

  • Guest
Sitting in Chairs
« on: 21 Aug 2003, 18:44:47 »
Just a quick question about chairs

How the hell do you make guys sit in them either starting sitting or getting in. If its not complicated then plz reply if you know.

Also as an added question. I've given a soldier a sniper rifle and ammo and tried to order him to reload, all in the init line. However, when faced with an enemy he refuses to fire. Does anyone know why?

Your help is much appreciated!  :)

Mr.X

GrimMonkey

  • Guest
Re:Sitting in Chairs
« Reply #1 on: 21 Aug 2003, 18:48:34 »
Can't help with the soldier. I too would like to know how to get the soldier to actually sit IN the chair and now two yards from it >:(. Anyway, Jahves made a chair that has a 'sit in back of chair' option. Just order the soldier to 'Get In' and there you go! :)

http://www.ofpnews.info/ofp/modules/mydownloads/viewcat.php?cid=34

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Sitting in Chairs
« Reply #2 on: 21 Aug 2003, 19:19:09 »
You need to use chair X and a switchmove animation.    There was a thread about this a few days ago, use the forum search function.
Plenty of reviewed ArmA missions for you to play

GrimMonkey

  • Guest
Re:Sitting in Chairs
« Reply #3 on: 21 Aug 2003, 19:22:16 »
I distinctly remember using chair X, but unsure about using switchmove. Anyways I'll try again :P.




Got Fish?

KyleSarnik

  • Guest
Re:Sitting in Chairs
« Reply #4 on: 21 Aug 2003, 19:49:07 »
place the dude over the chair X and but this in a trigger or WP.

Code: [Select]
dude switchmove "InChair"

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Sitting in Chairs
« Reply #5 on: 21 Aug 2003, 19:53:10 »
For the sniper question, forget the reload stuff.    Just add at least one magazine before you add the weapon.    Check that everything is working correctly by Previewing the mission with the player as the sniper, then you can check that he has the gear you think he has.
Plenty of reviewed ArmA missions for you to play

Drozdov

  • Guest
Re:Sitting in Chairs
« Reply #6 on: 21 Aug 2003, 21:24:40 »
A note about the switchmove thing...

This will look very weird if the guy sitting in the chair is in the player's view at the start of the mission. If this is a cutscene you're doing, then make sure the camera isn't pointing at him at the start. Switchmove means the character will morph into whatever position you have selected. Also, if the guy in the chair is likely to get shot, it'll also looks weird. When in switchmove mode, a soldier won't react normally when killed. Their body will remain in the position of the switchmove action, although they will actually be dead. This looks a bit ridiculous. If he's going to be killed you may need to create another trigger that switchmoves him off the chair before he's in danger.

Incidentally, does a switchmove command work on dead bodies? I was thinking of having an execution scene in a mission, but the surrender pose is a switchmove. Will it work if I set a trigger that activates on his death and does a switchmove "FXstandsurdead" on him? It ought to, I think.
« Last Edit: 21 Aug 2003, 21:25:24 by Drozdov »

Semith

  • Guest
Re:Sitting in Chairs
« Reply #7 on: 22 Aug 2003, 06:56:35 »
The thread a few days ago concerning sitting was mine.  I did not list the script there, though.  Anyway, to review, just have your guy stand infront of a chairX and give him this script:


; get the object
_obj = _this select 0
~2

; action of sitting down
_obj switchMove "FXStandToTable"

I have these as part of a script because I am making an entire Company CP currently in continuous mode (not the entire HQ is present at any one time, some are away sleeping).  It includes the CO, the 1SG, the Fire Support Officer (FSO), the a RATELO operator (RAdioTELOphone) who is using the above script.  Those 4 have individual scripts to make them seem like they are planning and conversing.  Also present in the CP is the Communications Sergeat who runs the CP (manages security, etc.), the XO who gives the player (a platoon leader) his briefing with 2 other platoon leaders, and a fireteam assigned security detail for the CP.

Ok, I got way off topic...  Anyway, the chair thing was my first script.  Any more questions, just ask.
Something like:

this switchmove "FXStandToTable"

placed in the dude's init box might work too, but I have not tested it.

Rokket

  • Guest
Re:enitre company and briefing
« Reply #8 on: 22 Aug 2003, 07:02:17 »
Semith -

I like the idea of your briefing. I was trying to work on a way to have the player squad briefed in a ready room aboard a ship or in a tent, the chair thing could be useful...hmmm

KyleSarnik

  • Guest
Re:Sitting in Chairs
« Reply #9 on: 22 Aug 2003, 15:35:29 »
switchmoves and playmoves wont work in inits... just use a WP or trigger...