![]() |
Object Movement
HTML Code:
function beginMovement()PHP Code:
|
Is it serverside or clientside?
And "canWarp();" should make it able to follow links. |
Serverside, doesn't seem to work I'm afraid :[
|
Is it a level NPC, or a DB/putnpc2?
|
Database
|
It should work if you do canwarp() and eventually also setshape() or showcharacter() so that the npc has a size and it can correctly check if the npc covers a link area
|
Still nothing.
Era: The script of NPC c_airShop has been updated by Chandler |
Anyone? Thanks
|
I'm not sure, but maybe make it join a class that handles the movement, tho I don't think it will make any difference, it's just how we done it on 2k1.
|
Make the movement in a class?
|
It looks like it should work to me as long as it's a DB-NPC and you've set a shape and have the gmap in serveroptions and the level list. (Keep canwarp() in there too). The only problems I have ever had with something like this is that sometimes the npc takes a while to update its position for the client.
|
Quote:
|
| All times are GMT +2. The time now is 05:13 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.