Home   Help Search Login Register  

Author Topic: flipping a vehicle  (Read 1007 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";