allowDammage: Difference between revisions
Jump to navigation
Jump to search
(Provided correct description and example of use) |
No edit summary |
||
Line 11: | Line 11: | ||
| Makes the selected unit unable to take damage. The unit remains able to be shot at but will not take damage.|= Description | | Makes the selected unit unable to take damage. The unit remains able to be shot at but will not take damage.|= Description | ||
| [[Object| | | [[Object|Unit]] allowDammage [[boolean]] | = Syntax | ||
| p1= [[Object| | | p1= [[Object|Unit]]: [[Object|Person]] |= Parameter 1 | ||
| p2= [[Boolean]] - true allows unit(s) to take damage, false denies the ability to take damage |= Parameter 2 | | p2= [[Boolean]] - true allows unit(s) to take damage, false denies the ability to take damage |= Parameter 2 | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <pre> | |x1= <pre>player allowDammage false</pre> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 19:33, 4 September 2008
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:
- Unit allowDammage boolean
- Parameters:
- Unit: Person
- Boolean - true allows unit(s) to take damage, false denies the ability to take damage
- Return Value:
- Nothing
Examples
- Example 1:
player 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