Home   Help Search Login Register  

Author Topic: Scripting: Sitting in chair animation  (Read 512 times)

0 Members and 2 Guests are viewing this topic.

Semith

  • Guest
Scripting: Sitting in chair animation
« on: 19 Aug 2003, 06:14:10 »
Ok, I am trying to get a radio operator to sit on a chair using:

; RATELO sitting in chair while working radio
; get the object
_obj = _this select 0
; action of sitting down
_obj switchMove "FXStandToTable"
~3
; holding phone (radio) to ear
_obj switchMove "FXStandTelLoop"
exit

Problem is, I cant get him onto the chair!  When he sits, it pushes him forward away from the chair.  When I put a table infront of him to block him, he rises about a foot above the chair.  How do you guys deal with this?  Its funny having anything in OFP floating.  Any advice?
« Last Edit: 19 Aug 2003, 06:14:38 by Semith »

KyleSarnik

  • Guest
Re:Scripting: Sitting in chair animation
« Reply #1 on: 19 Aug 2003, 07:18:38 »
Easy..... Use a Chair X

Its meant for this, its not... lets say solid... So in other words you can walk thru it... so it wont push him off. Also, there is a table like this as well. Its the second Table in the list.
« Last Edit: 19 Aug 2003, 07:26:08 by KyleSarnik »

Semith

  • Guest
Re:Scripting: Sitting in chair animation
« Reply #2 on: 19 Aug 2003, 08:32:56 »
Ah, thank you.  I should have thought of that...  I tried a few different chairs, boxes, and tables but not all of them.  

Thanks.

GrimMonkey

  • Guest
Re:Scripting: Sitting in chair animation
« Reply #3 on: 20 Aug 2003, 02:47:52 »
I tried it out but he sits 2 feet away from the chair! Help! Also does anyone have anything that might help me link animations and actions?

Thanks! :)

Semith

  • Guest
Re:Scripting: Sitting in chair animation
« Reply #4 on: 20 Aug 2003, 08:34:58 »
Easy..... Use a Chair X

Its meant for this, its not... lets say solid... So in other words you can walk thru it... so it wont push him off. Also, there is a table like this as well. Its the second Table in the list.

Here, ill translate:
Use Chair X

Chair X doesn't push people around.  Related to Table, which doesn't push people around either.

Try it, it helps!  You can't touch the chair, so it cant touch you.  No more being tossed around by an object that isn't even sentient.  Reply again and we will gladly explain more.