Quote:
Originally Posted by MrAnonymous_P2P
Hey its me again, Try my hand on scripting Im getting the basics down but for some reason I am having trouble with this simple flag. Here is the first script:
PHP Code:
showcharacter;
setcharprop #3,head0.png;
setcharprop #C0,orange;
setcharprop #C1,white;
setcharprop #C2,blue;
setcharprop #C3,red;
setcharprop #C4,black;
setcharprop #2,shield1.gif;
shieldpower = 1;
dir = 2;
}
if (playertouchsme) {move 26.5,-4,10,0;
freezeplayer 10;
sleep 10;
save[1]=true;
}
Then I have a door script:
PHP Code:
if (save[1]=true) {hide;}
For some reason the door will not disapear though. Please help 
|
PHP Code:
if (save[1]=true) {hide;}
should be
PHP Code:
if (save[1]==true) {hide;}
you used the wrong operator.
this method should work fine after that.
I can't believe all these FOOLS posting pointed you torwards triggeraction and completely overlooked that

jk ILU guys