A question about temp1hold
Hey, I created a fence sprite and gave it a script like this:
void main( void )
{
&temp1hold = ¤t_sprite;
}
But when I go to the other script (talking to a man) and then put this there:
sp_nodraw(&temp1hold, 1);
I thought that the fence was supposed to disappear, but it didn't. So, what did I do wrong?
void main( void )
{
&temp1hold = ¤t_sprite;
}
But when I go to the other script (talking to a man) and then put this there:
sp_nodraw(&temp1hold, 1);
I thought that the fence was supposed to disappear, but it didn't. So, what did I do wrong?
I don't know for sure, but try using a shorter variable name. &temp1hold has 9 characters after the & symbol. Try limiting this to 8 and see if that solves your problem.
Note that the sp_nodraw() command won't make the fence disappear, it will just become invisible.
Note that the sp_nodraw() command won't make the fence disappear, it will just become invisible.
I know it only makes it invisible and that's the point. But I'll try.
Make sure that you created the global variable "&temp1hold" in Main.c and there are no spelling mistakes there.
That's the only reason I can think of that it wouldn't work.
That's the only reason I can think of that it wouldn't work.









