Thread: SImple Problem
View Single Post
  #10  
Old 03-08-2007, 07:18 PM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
Quote:
Originally Posted by MrAnonymous_P2P View Post
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
__________________
Reply With Quote