mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Allow checking dogtags inside vehicles and when sitting (#4619)
* Allow checking dogtag inside and when sitting * Remove redundant format
This commit is contained in:
parent
9ac12aaee8
commit
657c790ee3
@ -34,6 +34,7 @@ class CfgVehicles {
|
||||
displayName = CSTRING(checkItem);
|
||||
condition = "true";
|
||||
statement = "";
|
||||
exceptions[] = {"isNotInside", "isNotSitting"};
|
||||
insertChildren = QUOTE(_this call DFUNC(addDogtagActions));
|
||||
};
|
||||
};
|
||||
|
@ -32,7 +32,7 @@ private _unitDogtagIDs = [];
|
||||
//Create action children for all dogtags
|
||||
private _actions = [];
|
||||
{
|
||||
private _displayName = format ["%1", getText (configFile >> "CfgWeapons" >> _x >> "displayName")];
|
||||
private _displayName = getText (configFile >> "CfgWeapons" >> _x >> "displayName");
|
||||
private _picture = getText (configFile >> "CfgWeapons" >> _x >> "picture");
|
||||
|
||||
private _action = [_x, _displayName, _picture, {_this call FUNC(checkDogtagItem)}, {true}, {}, _x] call EFUNC(interact_menu,createAction);
|
||||
|
Loading…
Reference in New Issue
Block a user