SCICompanion
3.0
Overview
Getting Started
View Editor
Pic Editor
Script editor
The SCI0 class library
The SCI1.1 class library
Classes
Script Files
Public Procedures
AddPolygonsToRoom (Main.sc)
AddToScore (Main.sc)
AimToward (Main.sc)
AngleDiff (Sight.sc)
Bclear (Main.sc)
Bset (Main.sc)
Btest (Main.sc)
CantBeSeen (Sight.sc)
ColorInit (ColorInit.sc)
CreateNewPolygon (Main.sc)
DebugPrint (Main.sc)
DebugRoomInit (DebugRoomInit.sc)
Die (Main.sc)
DisposeLoad (DisposeLoad.sc)
Eval (System.sc)
FindFormatLen (Print.sc)
FlipFeature (Flip.sc)
FlipPolygons (Flip.sc)
GetDirectory (SaveRestoreDialog.sc)
GetInput (Print.sc)
GetNumber (Controls.sc)
HideStatus (Main.sc)
InRect (System.sc)
IsObjectOnControl (Main.sc)
IsOneOf (System.sc)
IsOnScreen (Sight.sc)
Max (System.sc)
Min (System.sc)
MouseStillDown (Controls.sc)
Printf (Print.sc)
Prints (Print.sc)
RestorePreviousHandsOn (Main.sc)
ScoreFlag (Main.sc)
SetUpEgo (Main.sc)
Sign (System.sc)
UModulo (System.sc)
WordAt (System.sc)
Kernel Functions
SCI Studio compatible compiler
The SCI Compiler
Text Editor
Message editor
Sound Editor
Vocabs
Font Editor
Cursor Editor
VGA Palette Editor
Digital Audio
Output Pane
Debugger
Undo
Aspect Ratio
Palette cycling
Anatomy of an SCI game
Decompiler
Preferences
Game/Interpreter Versions
Importing and exporting resources
Extract All
Handy tips
A Basic Tutorial
SCICompanion
Docs
»
The SCI1.1 class library
»
Public Procedures
»
AddToScore (Main.sc)
View page source
AddToScore (Main.sc)
¶
AddToScore
(
amount
)
¶
Adds an amount to the player’s current score.
Parameters:
amount
(
number
) – The amount to add to the score (can be negative).