Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: make a pilot lay down on a bed  (Read 919 times)

0 Members and 1 Guest are viewing this topic.

MACCO

  • Guest
make a pilot lay down on a bed
« on: 06 Oct 2003, 11:53:57 »
hi!!

i need some help with a script.

i want to make a pilot to lay down on a bed in a barrack. it will simulate or look like the pilot sleep in the bed

how do i ???

explain very simple, i can't editing so good
/macco

Komuna

  • Guest
Re:make a pilot lay down on a bed
« Reply #1 on: 06 Oct 2003, 15:41:44 »
Should be easy:

pilot switchMove "Animation"

pilot setpos ["the abciss of the bed's position - number","the ordinate of the bed's position - number", "the bed's height - number"]

Notice that "Animation" should be one of the "dead" (without blood) animations available in OFP... It will look nice.

Offline Blanco

  • Former Staff
  • ****
Re:make a pilot lay down on a bed
« Reply #2 on: 06 Oct 2003, 17:18:06 »
try

unitname switchmove "deadstate" in a WP

Search or search or search before you ask.

MACCO

  • Guest
Re:make a pilot lay down on a bed
« Reply #3 on: 06 Oct 2003, 21:32:39 »
thanx, will try it