matteo.m
11-04-2006, 07:30 AM
how i can check if one sprite have the so_fixed option set?
I see that there is the function SpriteOptions(mysprite$)
but i have no clue how to use it .. for example, this is not working:
AddSpriteOption(s$, SO_TIMER | SO_CHECKCOLLIDE | SO_FIXED);
if (SpriteOptions(s$) == SO_FIXED )
ShowMessage("fixed");
end;
I know that i do the wrong test but i dont know witch way i should use to make the test to work.
So any help is greathly appreciated, Thankss
I see that there is the function SpriteOptions(mysprite$)
but i have no clue how to use it .. for example, this is not working:
AddSpriteOption(s$, SO_TIMER | SO_CHECKCOLLIDE | SO_FIXED);
if (SpriteOptions(s$) == SO_FIXED )
ShowMessage("fixed");
end;
I know that i do the wrong test but i dont know witch way i should use to make the test to work.
So any help is greathly appreciated, Thankss