Reply to Re: How can I code this situation?
If you don't have an account, just leave the password field blank.
Well, editor_seq(&getnum,1); changes the value of editor_seq();, &num is just used to tell us what that value is. It doesn't need to be changed in the middle of the script, unless you really want to run into the problem you mentioned. =)
In the case of most (all?) attributes, a positive number will change the value, a negative number will tell you what the value is without changing it.
Thanks, scratcher. That first bit sounds more like what I want. Should I use that in combination with what DinkDude mentioned? Or in place of it?
The engine doesn't remember changes to the sprite's properties, except for the sprite numbers. sp_active only does anything when the player is on the screen, it won't have an effect on how things look the next time you enter it. On the other hand, the editor numbers won't do anything to the sprite right away, they only change how things are the next time the screen is drawn.
In the case of most (all?) attributes, a positive number will change the value, a negative number will tell you what the value is without changing it.
Thanks, scratcher. That first bit sounds more like what I want. Should I use that in combination with what DinkDude mentioned? Or in place of it?
The engine doesn't remember changes to the sprite's properties, except for the sprite numbers. sp_active only does anything when the player is on the screen, it won't have an effect on how things look the next time you enter it. On the other hand, the editor numbers won't do anything to the sprite right away, they only change how things are the next time the screen is drawn.