mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
The dead shouldn't interact (it's not TWD)
This commit is contained in:
@ -444,6 +444,11 @@ if (!isNil QGVAR(PreInit_playerChanged_PFHID)) then {
|
|||||||
// Add various canInteractWith conditions
|
// Add various canInteractWith conditions
|
||||||
//////////////////////////////////////////////////
|
//////////////////////////////////////////////////
|
||||||
|
|
||||||
|
["isNotDead", {
|
||||||
|
params ["_unit", "_target"];
|
||||||
|
alive _unit
|
||||||
|
}] call FUNC(addCanInteractWithCondition);
|
||||||
|
|
||||||
["notOnMap", {!visibleMap}] call FUNC(addCanInteractWithCondition);
|
["notOnMap", {!visibleMap}] call FUNC(addCanInteractWithCondition);
|
||||||
|
|
||||||
["isNotInside", {
|
["isNotInside", {
|
||||||
|
Reference in New Issue
Block a user