allowDammage: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Replacing category Scripting Commands Arma 3 with Arma 3: Scripting Commands) |
m (Bot: Reverted to revision 92472 by killzone_kid on 2015-10-16T22:52:59Z) |
||
Line 1: | Line 1: | ||
[[Category:Scripting Commands|ALLOWDAMMAGE]] | |||
{{Command|= Comments | {{Command|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 39: | Line 41: | ||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | |||
<!-- CONTINUE Notes --> | <!-- CONTINUE Notes --> | ||
<dl class="command_description"> | <dl class="command_description"> | ||
Line 48: | Line 54: | ||
</dl> | </dl> | ||
<!-- DISCONTINUE Notes --> | <!-- DISCONTINUE Notes --> | ||
Revision as of 18:17, 3 December 2018
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:
- Uncategorised
Syntax
Examples
- Example 1:
player allowDammage false;
Additional Information
- See also:
- setDammagegetDammageallowDamage 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
Notes
- Posted on October 24, 2014 - 03:23 (UTC)
- DreadedEntity
- This command is still working in A3 1.32.127785, at least in single player. I didn't test multiplayer.