Reply to Re: Exact wait();
If you don't have an account, just leave the password field blank.
That sp_attack_wait trick is pretty cool.
If anyone wants to see what Paul is describing:
For the beating heart you'll want to query your brain 10 sprite and adjust the wait time off of the value given by sp_attack_wait.
If anyone wants to see what Paul is describing:
// sp_attack_wait returns the raw time at which the sprite is able to attack next.
// - DinkC Ref
void main( void )
{
sp_brain(¤t_sprite, 10);
sp_target(¤t_sprite, 1);
sp_attack_wait(¤t_sprite, 1000);
}
void attack( void )
{
int &say = sp_attack_wait(¤t_sprite, -1);
say("&say", 1);
sp_attack_wait(¤t_sprite, 1000);
}
For the beating heart you'll want to query your brain 10 sprite and adjust the wait time off of the value given by sp_attack_wait.






