View Single Post
  #12  
Old 03-17-2007, 12:58 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by xXziroXx View Post
Script in level..

PHP Code:
... 
Script of interaction_shop..

PHP Code:
... 
The addon_interaction class calls the function "interactionShop" when the npc is clicked, and so far so good.. the action "GetData" is sent by the interaction _shop class BUT I cant send the data back from serverside to clientside no mather how I try..

I would preffer solving it with actions or something, I'd hate to have to use a timeout and attr's.
Does interaction_shop have a shape?

Also, when you do

for(class: this.interaction.modes)

it'll join two classes (interaction_shop and interaction_leave) as I see it (dunno if that what it is suppose to do..)

And have you tried:

PHP Code:
function onActionGetData()
{
  
triggerAction(this.xthis.y"clientside""test");

instead of
PHP Code:
function onActionGetData()
{
  
triggerAction(xy"clientside""test");

?
__________________
Reply With Quote