Reply to Re: New File: Dink Smallwood v1.08 - Release Candidate 2
If you don't have an account, just leave the password field blank.
sp_custom is in the reference, basically you can do like this:
void main( void )
{
sp_custom("Banana", ¤t_sprite, 3);
}
void talk( void )
{
int &crap = sp_custom("Banana", ¤t_sprite, -1);
say_stop("&crap", ¤t_sprite);
&crap = random (5,0);
sp_custom("Banana", ¤t_sprite, &crap);
}
If you talk to it, it will first say 3, and then a random number between 0 and 4
void main( void )
{
sp_custom("Banana", ¤t_sprite, 3);
}
void talk( void )
{
int &crap = sp_custom("Banana", ¤t_sprite, -1);
say_stop("&crap", ¤t_sprite);
&crap = random (5,0);
sp_custom("Banana", ¤t_sprite, &crap);
}
If you talk to it, it will first say 3, and then a random number between 0 and 4