The Dink Network

Reply to Re: sp_blood() ?

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:
 
 
April 28th 2013, 08:56 PM
dinkdead.gif
That would be because sp_blood() doesn't exist

You're mixing together sp_blood_seq() and sp_blood_num().

sp_blood_seq(&sprite, &seq);
//&seq is the starting sequence this sprite uses for blood

sp_blood_num(&sprite, &num);
//&num is the *random* number of sequences for the sprite to play for blood

For example, 187 is the default &seq and 3 is the default &num, so a sprite will play a random sequence between 187 and 190.

Important note: If you change one of these only, it will not work! You need to set both of them, even if you leave one of them at the default.