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

Description

Wiki Description

Removes the specified number of caps from the player (destroyed, not moved to a container)

Documentation Comment

Removes a specified amount of caps from the player


Caveats


Parameters

intnCaps

CK Wiki Description

The number of caps to remove from the player


Examples

; Remove 100 caps from the player
Game.RemovePlayerCaps(100)

Auto-Generated Example

int myInt__nCaps

Game.RemovePlayerCaps(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.