![]() |
Triggeraction....
When i try to do a triggeraction from clientside to serverside on a normal npc, it works, but if i do it more, it wont work...
It only works once... Anyone have an idea about what's wrong? |
Re: Triggeraction....
Quote:
|
::fully agrees::
We're assuming this is a weapon right? ---Shifter |
Quote:
NPC Code: This is NOT the whole script. Also, the player is attached to it. EDIT: It wont triggeraction AFTER the first timeout=1; serverside. I have no idea why. |
NPC Code: I think there is no need to trigger the npc every time when the position is changed,i tested the script online and worked fine. PS:It's not the whole code,Kai :D |
Quote:
[edit] NPC Code: I tested it with move... and its not working... why? [/edit] Also, I have another problem with triggeraction... Its a weapon, triggering something clientside. I have a NPC on a level checking for it serverside if (action...), but it won't work! Strangly, it works clientside, but not serverside! (Weapon Clientside to NPC Serverside) Please respond if you know the problem. |
Quote:
About the move thing,i'm not sure,i rarely use move x_x' |
but the mining thing doesn't say how to use it from a clientside weapon to a serverside npc!
|
I think its not working because the local NPC moves every time,saving the npc position would work (I think x_o)
|
Its not a local NPC, it's a normal NPC in a level. But if i do the if (action...) clientside, it works!
Help anyone? clientside weapon > triggeraction to a serverside npc. |
Quote:
|
Quote:
|
Quote:
Quote:
|
You can't have something done on Clientside effect something on serverside, they don't mix, only variables transfer between the two. I am a newbie at scripting, so I might be wrong.
|
Quote:
|
| All times are GMT +2. The time now is 07:14 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.