allowDammage: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to " ") |
||
Line 29: | Line 29: | ||
}} | }} | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
{{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 21:45, 22 January 2021
Description
- Description:
- Allow or prevent an object being damaged (or injured, or killed). Alias of allowDamage.
The command does not prevent object from taking scripted damage such as setDamage or setHit.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- object allowDammage allow
- Parameters:
- object: Object
- allow: Boolean
- Return Value:
- Nothing
Examples
- Example 1:
player allowDammage false;
Additional Information
- See also:
- setDammagegetDammage allowDamage damage setDamage
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Object Manipulation
- Scripting Commands: Global Effect
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands