Mod:Creation Kit/RemovePlayerCaps - Game

Member of: Mod:Creation Kit/Game Script

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

Syntax
Function RemovePlayerCaps(int nCaps) global

Parameters

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

Return Value
None.

Examples
Game.RemovePlayerCaps(100)
 * Remove 100 caps from the player