setUnitAbility: Difference between revisions
Jump to navigation
Jump to search
(Clarification.) |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| arma |= Game name | |||
|2.33|= Game version | |||
____________________________________________________________________________________________ | |||
| Sets skill of given unit. This command will probably differ in some future products, but currently it does the same as [[setSkill]]. Skill may vary from 0.2 to 1.0. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | unit '''setUnitAbility''' skill |= Syntax | ||
|p1= unit: [[Object]] |= Parameter 1 | |||
|p2= skill: [[Number]] |= Parameter 2 | |||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>player setUnitAbility 1.0</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|SETUNITABILITY]] | |||
[[Category:Scripting Commands OFP Elite |SETUNITABILITY]] | |||
[[Category:Scripting Commands ArmA|SETUNITABILITY]] | |||
Revision as of 23:33, 1 August 2006
Description
- Description:
- Sets skill of given unit. This command will probably differ in some future products, but currently it does the same as setSkill. Skill may vary from 0.2 to 1.0.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
player setUnitAbility 1.0
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