Reply to Re: Story scripts suck
If you don't have an account, just leave the password field blank.
int &hold = sp_editor_num(¤t_sprite);
if (&hold != 0)
{
this was placed by the editor, lets make the barrel stay flat
editor_type(¤t_sprite, 3);
editor_seq(¤t_sprite, 173);
editor_frame(¤t_sprite, 4);
type means show this seq/frame combo as background in the future
}
Editor_type can be set to the following:
0 - no change
1 - kill sprite completely
2 - draw pic from enclosed seq/frame data as a sprite WITHOUT hardness
3 - draw pic from enclosed seq/frame data as a BACKGROUND object WITH
hardness (can't walk behind)
4 - draw pic from enclosed seq/frame data as a sprite WITH hardness
5 - draw pic from enclosed seq/frame data as a BACKGROUND object WITHOUT
hardness (can't walk behind)
6 - kill sprite, but let him come back after 5 minutes
7 - kill sprite, but let him come back after 3 minutes
8 - kill sprite, but let him come back after 1 minute
I took that from dinkc.txt . You can find this file in the "Develop" folder of your game. Read it. It's very useful.
if (&hold != 0)
{
this was placed by the editor, lets make the barrel stay flat
editor_type(¤t_sprite, 3);
editor_seq(¤t_sprite, 173);
editor_frame(¤t_sprite, 4);
type means show this seq/frame combo as background in the future
}
Editor_type can be set to the following:
0 - no change
1 - kill sprite completely
2 - draw pic from enclosed seq/frame data as a sprite WITHOUT hardness
3 - draw pic from enclosed seq/frame data as a BACKGROUND object WITH
hardness (can't walk behind)
4 - draw pic from enclosed seq/frame data as a sprite WITH hardness
5 - draw pic from enclosed seq/frame data as a BACKGROUND object WITHOUT
hardness (can't walk behind)
6 - kill sprite, but let him come back after 5 minutes
7 - kill sprite, but let him come back after 3 minutes
8 - kill sprite, but let him come back after 1 minute
I took that from dinkc.txt . You can find this file in the "Develop" folder of your game. Read it. It's very useful.