Background for Fallout 4
Member of the Game script
voidfunctionGivePlayerCaps(intnCaps)Global

Description

Wiki Description

Gives the player the specified number of caps.

Documentation Comment

Adds a specified amount of caps to the player


Caveats


Parameters

intnCaps

CK Wiki Description

The number of caps to give the player


Examples

; Give the player 100 caps for a job well done
Game.GivePlayerCaps(100)

Auto-Generated Example

int myInt__nCaps

Game.GivePlayerCaps(myInt__nCaps)

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.