Implemented unloading from vehicles #740

This commit is contained in:
Glowbal 2015-04-29 23:12:47 +02:00
parent 943d2cbd72
commit 581c64f66f
2 changed files with 37 additions and 1 deletions

View File

@ -398,6 +398,12 @@ class CfgVehicles {
selection = "";
distance = 10;
condition = "true";
class ACE_Passengers {
displayName = "$STR_ACE_Interaction_Passengers";
condition = "true";
statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
};
};
};
class ACE_SelfActions {
@ -416,6 +422,12 @@ class CfgVehicles {
selection = "";
distance = 10;
condition = "true";
class ACE_Passengers {
displayName = "$STR_ACE_Interaction_Passengers";
condition = "true";
statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
};
};
};
class ACE_SelfActions {
@ -436,6 +448,12 @@ class CfgVehicles {
selection = "";
distance = 10;
condition = "true";
class ACE_Passengers {
displayName = "$STR_ACE_Interaction_Passengers";
condition = "true";
statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
};
};
};
class ACE_SelfActions {
@ -454,6 +472,12 @@ class CfgVehicles {
selection = "";
distance = 10;
condition = "true";
class ACE_Passengers {
displayName = "$STR_ACE_Interaction_Passengers";
condition = "true";
statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
};
};
};
class ACE_SelfActions {
@ -483,6 +507,12 @@ class CfgVehicles {
showDisabled = 0;
priority = -1;
};
class ACE_Passengers {
displayName = "$STR_ACE_Interaction_Passengers";
condition = "true";
statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
};
};
};
class ACE_SelfActions {
@ -502,6 +532,12 @@ class CfgVehicles {
selection = "gunnerview";
distance = 2;
condition = "true";
class ACE_Passengers {
displayName = "$STR_ACE_Interaction_Passengers";
condition = "true";
statement = "";
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
};
};
};
class ACE_SelfActions {

View File

@ -446,7 +446,7 @@ class CfgVehicles {
displayName = "$STR_ACE_MEDICAL_ACTIONS_Medical";
runOnHover = 1;
exceptions[] = {"isNotInside"};
condition = QUOTE(vehicle _target != _target);
condition = QUOTE(vehicle _target != _target && vehicle _target == vehicle _player);
statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation));
icon = PATHTOF(UI\icons\medical_cross.paa);