Reply to Re: sp_custom
If you don't have an account, just leave the password field blank.
Couldn't you set the sequence/frame where you set the x/y? I think messing with the editor type would mess things up. If you really need to save the direction they died in then you can make the editor_frame() act as a supervar.
//example
int &crap = sp_x(¤t_sprite, -1);
&crap *= 1000;
int &crap2 = sp_y(¤t_sprite, -1);
&crap += &crap2;
editor_frame(¤t_sprite, &crap);
//main procedure
//extracting the x,y
int &crap = editor_frame(¤t_sprite, -1);
int &crap2 = &crap;
&crap /= 1000;
sp_x(¤t_sprite, &crap);
&crap *= 1000;
&crap2 -= &crap;
sp_y(¤t_sprite, &crap2);
//end of scripting
This way you can use editor_seq() for the sequence of the death.
//example
int &crap = sp_x(¤t_sprite, -1);
&crap *= 1000;
int &crap2 = sp_y(¤t_sprite, -1);
&crap += &crap2;
editor_frame(¤t_sprite, &crap);
//main procedure
//extracting the x,y
int &crap = editor_frame(¤t_sprite, -1);
int &crap2 = &crap;
&crap /= 1000;
sp_x(¤t_sprite, &crap);
&crap *= 1000;
&crap2 -= &crap;
sp_y(¤t_sprite, &crap2);
//end of scripting
This way you can use editor_seq() for the sequence of the death.