allowDamage: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Text replacement - "<dd class="notedate">Posted on ([^<>]+) " to "<dd class="notedate">Posted on $1</dd> ") |
||
Line 33: | Line 33: | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on September 2, 2013 | <dd class="notedate">Posted on September 2, 2013</dd> | ||
<dt class="note">[[User:AgentRev01|AgentRev]]<dd class="note"> | <dt class="note">[[User:AgentRev01|AgentRev]]<dd class="note"> | ||
<code>_object [[allowDamage]] [[false]];</code> | <code>_object [[allowDamage]] [[false]];</code> |
Revision as of 02:00, 30 January 2021
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