![]() |
script help..=X
NPC Code: well, this is a script im making so you can move stuff with mouse, but, I can only move it once, then it won't move again maybe some help =/ oh and, the actionmove is serverside because the x and y of the npc changes for all players plz help =X |
Re: script help..=X
Quote:
NPC Code: should work a better more common way to do it would be to replace move with serverside, i'm not sure if the name matters for the server, but it doesn't for your npc... so it can't hurt most people do it this way and you can do other things too if you used param 0 for the indicator like this: NPC Code: the trigger would look like: NPC Code:triggeraction 0,0,serverside,dbnpcname,move/shoot/etc,p1,p2,p3; |
ok but see its a level npc not a weapon
and i tried serverside, didnt work |
Re: script help..=X
Quote:
|
of course it works offline
everything works offline =X not online though >.< |
Well I have been missing from the graal world for a while. But as I remember it you need to setshape on it, then:
NPC Code: Has this changed? |
Just use:
setshape 1,1,1; Then the triggeraction will work. I wouldn't suggest this though. I suggest to make a class and use join classname; and use some kind of this. var to pass a variable to the class to proccess it as the width and height of the image. |
well i got it working
i did a setshape2 on the serverside and did triggeraction x+1,y+1,move,#v(mousex),#v(mousey); thx all for your help |
| All times are GMT +2. The time now is 02:39 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.