The Dink Network

Reply to Re: Unusual method for one-time events

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:
 
 
October 9th 2013, 09:00 AM
spike.gif
I use that method too, as described by Meta. I seem to be doing it especially often with one-time comments, like if Dink enters a cave and says "Oooh, this must be where those dinkicious brain-eating boncas are coming from!" It would be silly if he just kept repeating that every time.

A somewhat related thing that you might not be aware of are editor_seq and editor_frame. You can set those to whatever, so you actually get two free sprite-specific variables without wasting a single global. E.g.

int &getnum = sp_editor_num(¤t_sprite)
int &num = editor_seq(&getnum,-1)
if (&num == 0)
{
say("`#Dink, I worship you.",¤t_sprite)
editor_seq(&getnum,1)
}
if (&num == 1)
say("`#Dink, I worshipped you already!!",¤t_sprite)


EDIT: Dinkicious!! I can't believe the swear filter can still one-up me after so many years.