SetScore
SetScore

Sets the player's score.

bSuccess = myPlayer.SetScore( New_Score )

Return value
TRUE if score was set successfully, otherwise FALSE.

Parameters
  • New_Score
    The new score
Comments

Scores are automatically carried over frames, and reset when the game restarts. This gives them an advantage over counters and global variables.

See also
Player:AddToScore
Player:GetScore
Player:SetLives
Player:AddToLives
Player:GetLives



JAM © 2005 no one in partiular
Project started by David Evans in 2005