Reply to Re: New Tutorial: FIFO & Variables in DinkC
If you don't have an account, just leave the password field blank.
That code will work, yes. Just remember &return won't contain the sprite after the second line (it will contain the result from sp_whatever, probably 1).
Considering that limitation I tend to use that trick mostly for this:
create_sprite(..)
sp_script(&return,"script");
Which is the code for what I mentioned in the tutorial.
Considering that limitation I tend to use that trick mostly for this:
create_sprite(..)
sp_script(&return,"script");
Which is the code for what I mentioned in the tutorial.