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 06-22-2005, 08:06 PM
ChibiChibiLuc ChibiChibiLuc is offline
Cookie Monster. :3
Join Date: Jan 2005
Location: Nova Scotia, Canada
Posts: 111
ChibiChibiLuc is on a distinguished road
Send a message via AIM to ChibiChibiLuc Send a message via MSN to ChibiChibiLuc
Triggers to the clientside

Do triggers to the clientside work with the new engine?

I have an NPC weapon.
It sends a trigger to a DB.
The DB extracts the data requested.
The DB returns the data to the player.

The problem is, once it returns to the player I need it to send an action to the clientside, telling the weapon that it got the data. It doesn't receive the trigger to the client.

NPC Code:
function onReturnData(category,list) {
triggeraction(0,0,"clientside",#N,category,list);
}
//#CLIENTSIDE
function onActionClientside() {
player.chat = "Received.";
}




onReturnData is being called properly.
onActionClientside isn't being called at all.

And I don't have v4, so triggerclient isn't an option.
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 01:47 AM.


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