View Single Post
  #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