The Dink Network

Reply to Re: death

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:
 
 
June 7th 2003, 09:13 AM
old.gif
uhhh... ... ...

Do you mean this:

int &clife = sp_hitpoints(&current_sprite, -1);

if (&clife == 10);
{
//the sprite with this script has 10 hp
}

Note: You can return values when using -1.

int &dinkhp = sp_hitpoints(1, -1);

int &spritespeed = sp_speed(&current_sprite, -1);