Skip to content

player ​

The player namespace exposes cosmetic functions for the player character.

Most player state (position, HP, direction, name, etc.) is available through game state variables rather than this namespace.

player.ShowScaredFace(num) ​

Returns: nothing

If the player has Big Head mode enabled, changes their facial expression to scared for a given amount of time.

Parameters:

ParameterTypeDescription
numintegerDuration in frames
stonescript
?key = primaryBegin
  player.ShowScaredFace(1)

See also ​

Stonescript is part of Stone Story RPG.