Help plz
Hi
Anyone able to help, I need to create a barrier at a door so Dink can leave but not re-enter before a point in the story is met, I cant think how to work the script so any scripting help would be greatly apreciated.
Thanks!
Anyone able to help, I need to create a barrier at a door so Dink can leave but not re-enter before a point in the story is met, I cant think how to work the script so any scripting help would be greatly apreciated.
Thanks!
Place something like this in a script on the screen:
When the variable &story is less than three this script will place an object with <sequence> and <frame> at a position defined by <x> and <y> and makes it hard.
void main( void )
{
if (&story < 3)
{
int &sprite = create_sprite(<x>,<y>,0,<sequence>,<frame> );
sp_hard(&sprite,0);
sp_nodraw(&sprite,1);
draw_hard_sprite(&sprite);
}
}When the variable &story is less than three this script will place an object with <sequence> and <frame> at a position defined by <x> and <y> and makes it hard.
Thanks
And then could i remove it in the same way but reversed if you know what i mean?
And then could i remove it in the same way but reversed if you know what i mean?
Sorry misunderstud your reply i thought you had put > not <. nooooob
thanks again
thanks again







