I was just wondering how I would go about making the game quit, without accessing the menu. I'd like to have an option to quit simply in a "Show Choices" box.
... I know I have to call a script, and the command to call is most likely in the RTP already, but I know pretty much nothin' about scripting/calling scripts. It'd be greatly appreciated if someone could post the lines to put into the script call, and if you feel like it, perhaps explain (however briefly) how it works. Heaven knows that I'd like to learn to script, eventually. The complexity of it is a bit daunting, though, truth be told...
1 = 0.9,
Arkaea
"$scene = nil" will exist the game "nicely". Simply "exit" or "exit!" in a script call will terminate the game immediately.
Ah. Thanks very much... makes perfect sense and whatnot.
*feelin' like the noob*
Arkaea
No problem, there's no way you could have known.
Actually,
def compare(n, n)
return n.to_i == n.to_i
end
returns true for
Because the second argument overwrites the first one and you compare it to itself. Very smart. It will return true whatever you put in.
And did you accidentally post in the wrong topic? O_o
...stupid argument names.
Quote from: Blizzard on June 19, 2009, 02:49:00 pm
Because the second argument overwrites the first one and you compare it to itself. Very smart. It will return true whatever you put in.
And did you accidentally post in the wrong topic? O_o
I think he's doing... something... with my "1 = 0.9" signoff.
... It's a math paradox, though (I've seen the equation to prove it). Not a script thingy. :O.o:
Are you referring to 9/9?
Zeno's Paradox! um well.. not really its the .99999999999999 continued really is equal to 1 thing
Yeah. But .9 is easier to type :3
Zeno's paradox is really stupid; the racers objective is to reach the finish line, not to cross the halfway mark.
Quote from: Longfellow on June 19, 2009, 10:31:53 pm
Zeno's paradox is really stupid; the racers objective is to reach the finish line, not to cross the halfway mark.
Unless he's grossly obiese.
Quote from: Arkaea Halfdemon on June 19, 2009, 10:55:57 pm
Quote from: Longfellow on June 19, 2009, 10:31:53 pm
Zeno's paradox is really stupid; the racers objective is to reach the finish line, not to cross the halfway mark.
Unless he's grossly obiese.
So fat people like repeatedly going half way forever? >_<
I think doing anything forever would be rather abysmal.