Editors Depot

[ArmA] Unflip/right flipped vehicle action by Norrin

Version .2
Added 10 Aug 2009
Downloads 629
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.

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.

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.

Search OFPEC Editors Depot


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...


Register a tag, browse for addon keys...