setUnitAbility: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|SETUNITABILITY]]
[[Category:Scripting Commands ArmA|SETUNITABILITY]]


<new command not populated>


<h2 style="color:#000066">'''''unit'' setUnitAbility ''skill'''''</h2>


<h2 style="color:#000066">''''' setUnitAbility '''''</h2>


'''Operand types:'''


'''Operand types:'''
'''unit:''' [[Object]]
 
'''skill:''' [[Number]]


'''Type of returned value:'''
'''Type of returned value:'''
[[Nothing]]


'''Compatibility:'''
'''Compatibility:'''
Version 2.33 required.


'''Description:'''
'''Description:'''


Sets skill of given unit. Skill may vary from 0.2 to 1.0.


'''Example:'''
'''Example:'''
player '''setUnitSkill''' 1.0

Revision as of 17:28, 4 July 2006


unit setUnitAbility skill


Operand types:

unit: Object

skill: Number

Type of returned value:

Nothing

Compatibility:

Version 2.33 required.

Description:

Sets skill of given unit. Skill may vary from 0.2 to 1.0.

Example:

player setUnitSkill 1.0