Add option to push stuck planes

Also changed flip vehicle back to 1051 default which allowed players to
flip non-ATVs with help.
This commit is contained in:
ebaydayz
2016-08-21 16:43:52 -04:00
parent 9aa1784f23
commit 745e287202
7 changed files with 73 additions and 7 deletions

View File

@@ -1,12 +1,17 @@
private ["_object","_position"];
private ["_nearPlayers","_object"];
_object = _this select 3;
_nearPlayers = {(isPlayer _x && _x != player)} count (player nearEntities ["CAManBase",8]);
if (!(_object isKindOf "ATV_Base_EP1") && _nearPlayers < 1) exitWith {
localize "STR_EPOCH_NEED_HELP" call dayz_rollingMessages;
};
//Kneel Down
player playMove "amovpknlmstpslowwrfldnon_amovpercmstpsraswrfldnon";
waitUntil { animationState player != "amovpknlmstpslowwrfldnon_amovpercmstpsraswrfldnon"};
//_object setpos _position;
_object setvectorup [0,0,1];
_object setVectorUp [0,0,1];
// Alert Zombies
[player,20,true,(getPosATL player)] call player_alertZombies;