Yeah, and just put a label on that GUI with "@OVERHOTSPOT@" as its text.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu// main global script
int countdown=-1; // countdown initally off
function repeatedly_execute_always() {
// runs even when game is blocked
//...
if (countdown > -1) countdown--; // if countdown enabled, decrease it
int mins = ((countdown / GetGameSpeed()) / 60) % 60;
int secs = (countdown / GetGameSpeed()) % 60;
string buffer;
StrFormat(buffer, "%02d:%02d", mins, secs);
SetLabelText(YOURGUIHERE, YOURLABELNUMBERHERE, buffer);
//...
}
function repeatedly_execute() {
//...
if (countdown == 0) { // countdown expired
Display("You lose!"); // not allowed in rep_ex_always
RestartGame();
}
//...
}
export countdown;
// room script file
import int countdown;
function room_a() {
// script for room: First time player enters screen
//...
countdown = (10*60) * GetGameSpeed(); // start countdown (ten minutes)
//...
}
// main global script
int gameloops=0;
function repeatedly_execute() {
//...
gameloops++;
int mins = ((gameloops / GetGameSpeed()) / 60) % 60;
if (mins == 10) {
Display("You lose!");
RestartGame();
}
//...
}
QuoteHow do us lowly non-moderators go about getting a suggestion up there? Should we still post a 'SUGGESTION' thread in the tech forum as per usual?
QuoteSomething like one second per 3 words.
Quote from: Petteri on Sun 26/09/2004 17:46:29
How about these:
@_@
O.o
^_^
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.758 seconds with 20 queries.