Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-14-2004, 10:05 PM
MegaSizzler MegaSizzler is offline
Registered User
Join Date: Jul 2004
Posts: 26
MegaSizzler is on a distinguished road
Talking One Last Script

I have worked hard reading the **** bible and stuff and I was able to find out one script. I double checked it online ot worked. And I can't get another one though. If you want proof I did the first one here it is. It is a script for a door with a password in the case where the password is microsoft.
if (playerchats&&strequals(#c,Microsoft)){
hide
}
if (playertouchsme){
say2 Whats the Password?;
}

if (created) {
setimg door.png;
setshape 1,32,32;
}
There now the other code I need is for when you defeat all the baddies in a room a key will apear and unlock a locked door. I couldn't figure that one out. CAn someone help me with that one?
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:11 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.