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: Another chopper extraction thread / check if not in vehicle  (Read 7198 times)

0 Members and 1 Guest are viewing this topic.

Offline Undeceived

  • Members
  • *
    • My missions and campaigns
Check if not in vehicle -> SOLUTION FOUND
« Reply #15 on: 04 Mar 2008, 22:59:00 »
SOLUTION FOUND

I found the solution I was after, but... Spooner is right: The pilot gets out everytime, I beam him back into the chopper... He just doesn't want to stay in a chopper with 0 fuel.
pilot disableAI "MOVE" doesn't work to make him staying inside.
When I setfuel 1 right after I beamed him back in, he takes off and makes the boarding impossible...

Damn, so many days behind a solution and then, when I have it, it is useless. I should have heard earlier. :confused: So now I declare myself defeated and am open for new ideas for this extraction.
However I wanted something simpel rather than the extraction scripts, I found so far. They are way to complicated, I just need an simple evac for 2 men.


Ok, here's the right code to check, if a unit is not in a vehicle, if somebody needs it one day:

?!(pilot1helimission in helimission)

Actually its lebson506ths suggestion with an ? in front of it. Or did you mean it with the interrogation point, Lebson?

Well, thanks to all who helped me, I appreciate it! Thx, guys!
And sorry for one more double post, I just wanted to separate the solution from the lamentations above :)
« Last Edit: 04 Mar 2008, 23:07:43 by Undeceived »
Current project: Black Lands (Arma 3)