Reply to Re: scripting q
If you don't have an account, just leave the password field blank.
: Dink is placed to a screen (script_attach, player map change etc), then a follower sprite is created (spawn("friend")) and end of that script. On the screen is some other object, whose script the below is:
: void main( void )
: {
: freeze(1);
: wait(200);
: move_stop(1, 8, 300, 0);
: freeze(&sprite2);
: fade_up();
: say_stop("I'm saying things just for an example!", &sprite2);
: unfreeze(1);
: unfreeze(&sprite2);
: }
: And sprite2 doesn't say a thing.. anyone?
first of all, if the sprite is NOT spawned, then use &current_sprite, if it IS spawned ( and always do this ) make sure &sprite2 is a GLOBAL int, not a int created in a script...
: void main( void )
: {
: freeze(1);
: wait(200);
: move_stop(1, 8, 300, 0);
: freeze(&sprite2);
: fade_up();
: say_stop("I'm saying things just for an example!", &sprite2);
: unfreeze(1);
: unfreeze(&sprite2);
: }
: And sprite2 doesn't say a thing.. anyone?
first of all, if the sprite is NOT spawned, then use &current_sprite, if it IS spawned ( and always do this ) make sure &sprite2 is a GLOBAL int, not a int created in a script...