isDamageAllowed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " +" to " ")
Line 25: Line 25:
|mp= This command only works locally. It always returns false when called on non local objects
|mp= This command only works locally. It always returns false when called on non local objects
}}
}}


{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 00:38, 11 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Multiplayer:
This command only works locally. It always returns false when called on non local objects
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
object: Object
Return Value:
Boolean

Examples

Example 1:
private _canBeDamaged = local _obj && isDamageAllowed _obj;

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note