allowDammage: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Important( *)\|" to "{{$1Feature$2|$2important$2|") |
||
Line 13: | Line 13: | ||
| Allow or prevent an object being damaged (or injured, or killed). Alias of [[allowDamage]].<br> | | Allow or prevent an object being damaged (or injured, or killed). Alias of [[allowDamage]].<br> | ||
The command does not prevent object from taking scripted damage such as [[setDamage]] or [[setHit]].<br> | The command does not prevent object from taking scripted damage such as [[setDamage]] or [[setHit]].<br> | ||
{{ | {{Feature | important | Command has to be executed where object is [[local]] and as long as object does not change locality the effect of this command will be global. | ||
If object changes locality, the command needs to be executed again on the new [[owner]]'s machine to maintain the effect.}} | If object changes locality, the command needs to be executed again on the new [[owner]]'s machine to maintain the effect.}} | ||
Revision as of 02:08, 7 February 2021
Description
- Description:
- Description needed
- Groups:
- Object Manipulation
Syntax
- Syntax:
- Syntax needed
- Parameters:
- object: Object
- allow: Boolean
- Return Value:
- Return value needed
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