RemovePlayerCaps - Game

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Game Script

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

Syntax[edit | edit source]

Function RemovePlayerCaps(int nCaps) global

Parameters[edit | edit source]

  • nCaps: The number of caps to remove from the player

Return Value[edit | edit source]

None.

Examples[edit | edit source]

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

See Also[edit | edit source]