Warning: file_put_contents(/ff_6abe3c0131af6a95b964891b3f64a9e935ad574170afaba5.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
Unflip/right flipped vehicle action by Norrin @ Editors Depot | OFPEC The Editing Center

Editors Depot

[ArmA] Unflip/right flipped vehicle action by Norrin

Version .2
Added 10 Aug 2009
Downloads 610
Demo included Yes
Filesize 1.9KB
User rating 4/5

This is a very simple script that gives a player an action to right an empty overturned car if he walks up next to it.

Acknowledgements
I must thank alef for the code to detect whether a vehicle was upright or on its side.

To implement
1. Copy across the unflip folder from the test mission to your mission.
2. Copy the lines from the init.sqf in the test mission into the init.sqf in your own mission

How to use
Walk up to a flipped car and make sure no one is in it, after a second or so you'll get an action to "right vehicle", then just use it and the car will flip back onto its wheels.

Background
One of my clan members has a habit of rolling any Humvee he comes in contact with and he asked me to make this.

Possible changes
At the moment this script will only work with the car class but this could be easily changed.  The condition that the vehicle is empty can also be easily changed.

View the forum thread for this resource here.


Click to see 14 other resources by this author.


COMREF

The OFPEC Command Reference contains details of all scripting commands available to the editor.

Beginner's Tutorial

All you need to know about how to start editing.

Multiplayer Tutorial

This tutorial explains the mysteries of multiplayer editing.

OFPEC Tutorials

OFPEC hosts several quality tutorials written specifically for the site by staff and members...

OFPEC Tags

Register a tag, browse for addon keys...

Advertisement