The Dink Network

Reply to Re: Talking

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 8th 2005, 04:07 AM
spike.gif
First problem: you're missing a ton of brackets and ; after freeze(1) and freeze(&current_sprite)
like this:
freeze(1);
unfreeze(&current_sprite);

Second problem: if (&story <= 2) stands for "if story is 2 or less than 2"
it's simple math.
< means less than
> means more than
= means the same as

if you want the knights to appear only when the story is 2, you use
if (&story == 2) why you need two ==, I don't know, it's a c thing. but you do.

if you want them to appear when the story is 2 or more, you can use
if (&story >= 2)
or
if (&story > 1)