Reply to Re: Attaching scripts to sprite numbers
If you don't have an account, just leave the password field blank.
: : Well, if I didn't know how to do that, how would I have done any of CC?
: : No, what I want to be able to do is attach a script to a map sprite from within another script. Possible?
: Sure. Here's how:
: int &temp = sp(YourSpriteNumberHere);
: sp_script(&temp, "YourScripthere");
Hmm, that's what I was trying. Ho hum, I'll just have to try it again, check for errors etc.
: : No, what I want to be able to do is attach a script to a map sprite from within another script. Possible?
: Sure. Here's how:
: int &temp = sp(YourSpriteNumberHere);
: sp_script(&temp, "YourScripthere");
Hmm, that's what I was trying. Ho hum, I'll just have to try it again, check for errors etc.






