The Dink Network

Reply to Re: How can I code this situation?

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:
 
 
May 31st 2008, 08:50 PM
dinkdead.gif
You're right in your example, as I said, I have no brains tonight

I usually do this bit:

int &getnum = sp_editor_num(&current_sprite);
int &num = editor_seq(&getnum,-1);

in the main procedure so I'd need to change &num because otherwise if I speak to the NPC without leaving the screen &num wouldn't have changed. I believe main is only run when the screen is first drawn? Whatever.

And I think only -1 tells you what a value is, you can set attributes to other negative numbers.