Background for Fallout 4
Member of the Game script
voidfunctionIncrementSkill(ActorValueakActorValue, intaiCount=1)NativeGlobal

Description

Wiki Description

Advances the provided Skill by the one point (for the player only).

Documentation Comment

Increment the given skill on the player by the given number of points


Caveats


Parameters

ActorValueakActorValue

CK Wiki Description

The Skill to teach to the player.

intaiCount=1

CK Wiki Description

The number of points to advance the skill.

  • Default:1

Examples

; Advance the given skill on the player by the one point
Game.IncrementSkill(MarksmanSkillAV)
; Advance the given skill on the player by 10 points
Game.IncrementSkill(SmallGunSkillAV, 10)

Auto-Generated Example

ActorValue myActorValue__akActorValue
int myInt__aiCount

Game.IncrementSkill(myActorValue__akActorValue, myInt__aiCount)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.