isDamageAllowed: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <dl class="command_description"> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "\|r1=$1 \|x1=") |
||
Line 17: | Line 17: | ||
|p1= object: [[Object]] | |p1= object: [[Object]] | ||
| [[Boolean]] | \|r1= [[Boolean]] | ||
|x1= <code>[[private]] _canBeDamaged = [[local]] _obj && [[isDamageAllowed]] _obj;</code> | \|x1= <code>[[private]] _canBeDamaged = [[local]] _obj && [[isDamageAllowed]] _obj;</code> | ||
| [[allowDamage]], [[setDamage]], [[setHit]] | | [[allowDamage]], [[setDamage]], [[setHit]] |
Revision as of 10:25, 10 June 2021
Description
- Description:
- Description needed
- Multiplayer:
- This command only works locally. It always returns false when called on non local objects
- Groups:
- Object Manipulation
Syntax
- Syntax:
- Syntax needed
- Parameters:
- object: Object \
- Return Value:
- Boolean \
Examples
- Example 1:
private _canBeDamaged = local _obj && isDamageAllowed _obj;
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