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: flipping a vehicle  (Read 1451 times)

0 Members and 1 Guest are viewing this topic.

Offline Surdus Priest

  • Members
  • *
  • Only I can Forgive You!
flipping a vehicle
« on: 04 Nov 2007, 04:04:17 »
the effect is that an explossion appears near a vehicle (a jeep in this case) and i want it to flip over.  the explossion itself doesnt need to flip the vehicle, but i need a way of turning the vehicle of on its side in a realistic motion.  does anyone know a way of doing this?
Campaigns are hard, I'll stick with scripting for now!

Offline LeeHunt

  • Former Staff
  • ****
  • John 21:25
Re: flipping a vehicle
« Reply #1 on: 09 Nov 2007, 01:28:57 »
hi Surdus Priest,

Here is the function attached you need created by Mors in the Zombie "Yomies" mission (http://5133p39.wz.cz/yomies/index.php)

In the initialization line of the vehicle put:

 [this,[getDir this,0,-90]] call compile preprocessFile "fn_flea_3d_dir.sqf";