Game Won Message
From SCI Wiki
Jump to navigationJump to searchThe printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
By Cloudee1
To inform the player that he has won the game once a certain score has been reached:
Code:
(if(== gScore gMaxScore) //
(Display "You've done it you are a winner.")
)
Notes:
- If you have any hidden points use equal to or greater than.
- A print statement will go away if if the player hits enter. A display might be better such as a new room that says congratulations or use a changestate method with animations.