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 09-30-2008, 03:33 PM
Vima Vima is offline
Registered User
Join Date: Dec 2005
Posts: 542
Vima is an unknown quantity at this point
[EZ] This script makes me insane.

Hi! I'm making a script for the Cherry Guildhouse.
I can't get the script working, what's wrong with it?
Thanks!

// NPC made by SwedishKing -Y-
function onCreated(){
setshape(1,32,32);
}
function onWarp(){
setlevel2("cherrytown_2c.nw",30,30);
}

//#CLIENTSIDE
function onPlayertouchsme()
{
if (player.guild == "Cherry")
{
triggerAction(this.x+.5,this.y+.5,"warp",null);
}
else
{
this.chat = "Only Cherry Members!";
}
}
__________________
*aka SwedishKing*
Reply With Quote
 


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:27 PM.


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