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: staying in  (Read 903 times)

0 Members and 1 Guest are viewing this topic.

borrowed soap

  • Guest
staying in
« on: 22 Jun 2003, 01:44:23 »
anyone tell me where i have made a mistake? they still wont stay in vehicle, but im doing what i think the tut is sayin so...

_car1 = _this select 0
_officer = _this select 1
_soldier1 = _this select 2
_soldier2 = _this select 3


_officer commandmove getpos _car1
_soldier1 commandmove getpos _car1
_soldier2 commandmove getpos _car1
@unitReady _officer
_officer assignAsDriver _car1
_soldier1 assignAsGunner _car1
_soldier2 assignAsCargo _car1
[_officer,_soldier1,_soldier2] ordergetin true

#Exit
exit

Komuna

  • Guest
Re:staying in
« Reply #1 on: 22 Jun 2003, 03:30:05 »
Seems OK, But i can find a few mistakes:


#Exit - this label is not necessary for such peace of script

[_officer,_soldier1,_soldier2] ordergetin true - It doesn't work. Don't ask me why! It's a syntax strange behaviour. Use this instead:

"[_x] ordergetin true" foreach [_officer,_soldier1,_soldier2]

It should be fine, now! ;)

borrowed soap

  • Guest
Re:staying in
« Reply #2 on: 22 Jun 2003, 03:39:13 »
thx muchly  ;D