View Single Post
  #3  
Old 12-13-2009, 07:28 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
Only because I don't know how to make it tell the difference on this part where it sends the server trigger, and as I see it the only other place to tell it what to do. Its clientside obviously, checking to see which row they picked, ect ect, sending the this.vars for reply2 or reply3 being false or true, and the npcid set on the level npc (which btw is working fine xD).

PHP Code:
function Npc_Chat_ItemList.onDblClick(entryid,entrytext,entryindex) {
  if (
entryid == 0)
  {
    if (
entrytext != "")
    {
      
triggerServer("weapon"this.name"getReply"entryidthis.mynpcidthis.replyarraythis.replyarray2);
    }
  }
  if (
entryid == 1)
  {
    if (
entrytext != "")
    {
      
triggerServer("weapon"this.name"getReply"entryidthis.mynpcidthis.replyarraythis.replyarray2);
    }
  }
  if (
entryid == 2)
  {
    if (
entrytext != "")
    {
      
triggerServer("weapon"this.name"getReply"entryidthis.mynpcidthis.replyarraythis.replyarray2);
    }
  }
  if (
entryid == 3)
  {
    if (
entrytext != "")
    {
      
triggerServer("weapon"this.name"getReply"entryidthis.mynpcidthis.replyarraythis.replyarray2);
    }
  }

__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote