mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #3070 from dixon13/newCivInteraction
Changes to civilian interaction
This commit is contained in:
commit
f47b51c0cb
@ -53,6 +53,7 @@ Coren <coren4@gmail.com>
|
||||
Crusty
|
||||
Dharma Bellamkonda <dharma.bellamkonda@gmail.com>
|
||||
Dimaslg <dimaslg@telecable.es>
|
||||
dixon13 <dixonbegay@gmail.com>
|
||||
Drill <drill87@gmail.com>
|
||||
Dudakov aka [OMCB]Kaban <dudakov.s@gmail.com>
|
||||
Dslyecxi <dslyecxi@gmail.com>
|
||||
|
@ -141,6 +141,13 @@ class CfgVehicles {
|
||||
showDisabled = 0;
|
||||
priority = 2.5;
|
||||
};
|
||||
class ACE_GetOut {
|
||||
displayName = CSTRING(GetOut);
|
||||
condition = QUOTE(!(isNull objectParent _target) && [ARR_2(_player,_target)] call DFUNC(canInteractWithCivilian));
|
||||
statement = QUOTE([_target] call EFUNC(common,unloadPerson));
|
||||
showDisabled = 0;
|
||||
priority = 2.6;
|
||||
};
|
||||
};
|
||||
|
||||
class ACE_Torso {
|
||||
|
@ -6,7 +6,7 @@ class CfgPatches {
|
||||
weapons[] = {};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {"ace_interact_menu"};
|
||||
author[] = {"commy2", "KoffeinFlummi", "esteldunedain", "bux578"};
|
||||
author[] = {"commy2", "KoffeinFlummi", "esteldunedain", "bux578", "dixon13"};
|
||||
authorUrl = "https://github.com/commy2/";
|
||||
VERSION_CONFIG;
|
||||
};
|
||||
|
@ -18,5 +18,4 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
params ["_unit", "_target", ["_isCivilian", true]];
|
||||
|
||||
alive _target && [side _target != side _unit, side group _target == civilian] select _isCivilian // return
|
||||
|
@ -349,6 +349,9 @@
|
||||
<Portuguese>Abaixe-se!</Portuguese>
|
||||
<Italian>A terra!</Italian>
|
||||
</Key>
|
||||
<key ID="STR_ACE_Interaction_GetOut">
|
||||
<English>Get Out</English>
|
||||
</key>
|
||||
<Key ID="STR_ACE_Interaction_TeamManagement">
|
||||
<English>Team Management</English>
|
||||
<German>Gruppenverwaltung</German>
|
||||
@ -732,4 +735,4 @@
|
||||
<Czech>Zobrazit "interakci "podat zásobník"</Czech>
|
||||
</Key>
|
||||
</Package>
|
||||
</Project>
|
||||
</Project>
|
||||
|
Loading…
Reference in New Issue
Block a user