Reply to Re: Touching!
If you don't have an account, just leave the password field blank.
You can use the same script for both actions, you just have to know Lyna's sprite number. You can either:
Do a search for Lyna's sprite
Spawn Lyna's script directly
Save Lyna's sprite number into a global in the main procedure of Lyna's script, then read it from the box script
Save Lyna's sprite number into one of Dink's attributes and then read it back in the box script
Basically:
//Lyna's script
void main( void )
{
sp_gold(1, ¤t_sprite);
}
and before the loop in the other script:
//short wait to allow lyna's script to work
wait(1);
int &girl = sp_gold(1, -1);
Then just use another smaller loop to check both Dink and the girl, by reseting &sprite
Do a search for Lyna's sprite
Spawn Lyna's script directly
Save Lyna's sprite number into a global in the main procedure of Lyna's script, then read it from the box script
Save Lyna's sprite number into one of Dink's attributes and then read it back in the box script
Basically:
//Lyna's script
void main( void )
{
sp_gold(1, ¤t_sprite);
}
and before the loop in the other script:
//short wait to allow lyna's script to work
wait(1);
int &girl = sp_gold(1, -1);
Then just use another smaller loop to check both Dink and the girl, by reseting &sprite






