OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Aldo15 on 25 Nov 2010, 01:25:03
-
Hi I am new to this forum, I wanted to know if anyone knows a script where
make a plane crashing into a building. I need it for the campaign
I'm creating. ??? ???
-
It depends under what circumstances you want this to happen. Is it to be part of a cinematic? How much of the flight has to be seen by the player?
If you only need the impact itself, first use setPos (http://www.ofpec.com/COMREF/index.php?action=details&id=313&game=All) to position the aircraft close to the ground and then setVelocity (http://www.ofpec.com/COMREF/index.php?action=details&id=321&game=All) to send it on its way.
-
want it to look the same way as the plane crashed in Ozama
September 11 when it hit the twin towers :D :D
-
Walter_E has the solution, then.