The Dink Network

Reply to Re: More nitpicking...

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
September 13th 2007, 11:01 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
- Just so you know, the &midi variable was used to enable midi-looping before v1.08 supported it directly. So, you could just do the normal playmidi("blah.mid"), and not mess with the midi.c script at all. It won't make any difference, though.

- Cool.

- Cast Kid, hmm, I dunno.

- Slot machine. The key is the lastRandomIcon function. This chooses the actual slot graphic that is chosen by the slot machine on its final iteration. &abc1 is the value of the first slot, and &abc2 if the value of the first slot. For Slot 1, &abc1 will be 0, so it chooses a random graphic. For Slot 2, it will choose a random graphic, but there is a 25% chance that it will be set to the same value as Slot 1. For Slot 3, it will choose a random graphic, but there is a 66% chance that it selects the same graphic as Slot 2.

So, from the looks of it, the &shocked check *should* work. If the selected graphic is always set to the value from Slot 1 when going through Slots 2 and 3, Dink should win every time.