allowDammage: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Reverted edits by Markburgess (Talk); changed back to last version by Kronzky)
(Provided correct description and example of use)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Obsolete command. Does nothing.|= Description
| Makes the selected unit unable to take damage. The unit remains able to be shot at but will not take damage.|= Description
 
| [[Object|Units]] allowDammage [[boolean]] | = Syntax
| p1= [[Object|Units]]: [[Array]] of [[Object|Person]]s |= Parameter 1
| p2= [[Boolean]] - true allows unit(s) to take damage, false denies the ability to take damage |= Parameter 2
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>[_soldier1, _soldier2] allowDammage false</pre> |= Example 1
____________________________________________________________________________________________


}}
}}

Revision as of 20:31, 4 September 2008


Hover & click on the images for description

Description

Description:
Makes the selected unit unable to take damage. The unit remains able to be shot at but will not take damage.
Groups:
Uncategorised

Syntax

Syntax:
Units allowDammage boolean
Parameters:
Units: Array of Persons
Boolean - true allows unit(s) to take damage, false denies the ability to take damage
Return Value:
Nothing

Examples

Example 1:
[_soldier1, _soldier2] allowDammage 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

Notes

Bottom Section