Warning: file_put_contents(/ff_c00b2627c8830037dfd3f48813035e01ea93ced6a6bf80e6.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
setSkill - OFPEC Scripting Command Reference | OFPEC The Editing Center

vehicle setSkill [type, skill]

Operand types

vehicle: Object
[type, skill]: Array

Type of returned value

Description

Sets skill of given type of person (commander unit).
Value of skill may vary from 0 to 1.

Possible types are:
"aimingAccuracy"
"aimingShake"
"aimingSpeed"
"endurance"
"spotDistance"
"spotTime"
"courage"
"reloadSpeed"
"commanding"
"general"

Not implemented yet.

Used In

ArmA

Example

hero setskill ["Endurance", 1]

Advertisement