Editor_seq
I wanted to do the editor frame/seq trick mentioned in the DinkC Reference. Do I have to use sp_editor_num to get the sprite number or does ¤t_sprite suffice?
Eg.:
int &asdfgh = sp_editor_num(¤t_sprite, -1);
editor_seq(&asdfgh, &whatever);
Or does ¤t_sprite suffice, like in this case?:
editor_seq(¤t_sprite, &whatever);
Eg.:
int &asdfgh = sp_editor_num(¤t_sprite, -1);
editor_seq(&asdfgh, &whatever);
Or does ¤t_sprite suffice, like in this case?:
editor_seq(¤t_sprite, &whatever);
August 11th 2004, 09:31 AM

MiloBones


You use the editor #.
Although I've never actually tried this, if you look at the source from the original game that's what they do when something dies. The two numbers are usually different (by 1).
Although I've never actually tried this, if you look at the source from the original game that's what they do when something dies. The two numbers are usually different (by 1).
God dang fudgeing piece of shoot. I hate it when this happens. ¤t_sprite = & current_sprite without the space after the ampersand.
Edit: WHAT THE GODdang fudge!! Why the fudge does it work now?
Edit: WHAT THE GODdang fudge!! Why the fudge does it work now?
And now it doesn't. Why is this happening anyway?
Your version of Windows is in what appears to be Finnish. Is your keyboard in a Finnish or English layout?
It changes ¤t_sprite into ¤t_sprite when you press modify. Don't ask why.