| ChibiChibiLuc |
06-22-2005 08:06 PM |
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. :(
|