allowDamage

From Bohemia Interactive Community
Revision as of 03:07, 7 February 2021 by Lou Montana (talk | contribs) (Text replacement - "\{\{( *)Important( *)\|" to "{{$1Feature$2|$2important$2|")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Manipulation

Syntax

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

Examples

Example 1:
player allowDamage false;

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
Posted on September 2, 2013
AgentRev
_object allowDamage false; has the same effect as _object addEventHandler ["HandleDamage", {0}]; except for buildings that are native to the map; for those, the effects of HandleDamage will not sync properly across all clients, even if added to the building on every client and the server