Difference between revisions of "setSkill"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (moved notes)
Line 29: Line 29:
 
<dl class="command_description">
 
<dl class="command_description">
 
<!-- Note Section BEGIN -->
 
<!-- Note Section BEGIN -->
 
<!-- Note Section END -->
 
</dl>
 
 
<h3 style="display:none">Bottom Section</h3>
 
Old Notes (temporary):
 
  
 
Approximate ranges are:
 
Approximate ranges are:
Line 42: Line 36:
 
*Veteran > 0.65 and <= 0.85
 
*Veteran > 0.65 and <= 0.85
 
*Expert > 0.85
 
*Expert > 0.85
 +
<!-- Note Section END -->
 +
</dl>
 +
 +
<h3 style="display:none">Bottom Section</h3>
 +
 
[[Category:Scripting Commands|SETSKILL]]
 
[[Category:Scripting Commands|SETSKILL]]
 
[[Category:Scripting Commands OFP 1.96|SETSKILL]]
 
[[Category:Scripting Commands OFP 1.96|SETSKILL]]
 
[[Category:Scripting Commands ArmA|SETSKILL]]
 
[[Category:Scripting Commands ArmA|SETSKILL]]

Revision as of 18:34, 2 August 2006

Introduced with Operation Flashpoint: Resistance version 1.751.75
Hover & click on the images for descriptions

Description

Description:
Sets ability level of person (commander unit). Value of skill may vary from 0 to 1.

Syntax

Syntax:
vehicle setSkill skill
Parameters:
vehicle: Object
skill: Number
Return Value:
Nothing

Examples

Example 1:
hero setskill 1

Additional Information

See also:
See also needed

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Approximate ranges are:
  • Novice < 0.25
  • Rookie >= 0.25 and <= 0.45
  • Recruit > 0.45 and <= 0.65
  • Veteran > 0.65 and <= 0.85
  • Expert > 0.85

Bottom Section