mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Common - Let isEOD handle non bools (#7067)
This commit is contained in:
parent
a108062685
commit
445e082cc4
@ -13,11 +13,11 @@
|
|||||||
* is the unit an EOD <BOOL>
|
* is the unit an EOD <BOOL>
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* isSpecialist = [player] call FUNC(isEOD);
|
* [player] call ace_common_fnc_isEOD
|
||||||
*
|
*
|
||||||
* Public: Yes
|
* Public: Yes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
params ["_unit"];
|
params ["_unit"];
|
||||||
|
|
||||||
_unit getVariable ["ACE_isEOD", _unit getUnitTrait "explosiveSpecialist"] // return
|
(_unit getVariable ["ACE_isEOD", _unit getUnitTrait "explosiveSpecialist"]) in [1, true]
|
||||||
|
Loading…
Reference in New Issue
Block a user