![]() |
Npc level changing
Is there any way to change the level of a npc to the player level?
|
Could you elaborate a little bit more?
|
Oh yea sure well i have this class script as an npc inside a level. I when the player touchs him i want him to follow him outside the level to the gmap. Is that possible? also when i have a class npc following somebody on gmap after about 2 to 3 levels it just freeze know why?
|
You should use a putnpc2, level NPCs can't follow you outside of the level. You could do something like:
PHP Code:
PHP Code:
|
Hmmm..... Its still only following me for about 2 to 3 levels then it stops.
|
Quote:
|
PHP Code:
|
Well you shouldn't use 0.05 timeout serverside like that, it wears on the server especially with everything you're trying to do. Use move() instead.
|
Quote:
|
Yes, I think .05 doesn't work at all serverside.
Also, first you're using: this.attacker = "Graal713758"; And then: with ( findplayer ( this.attacker ) ) I think you need to use "findplayerbycommunityname()" |
Quote:
|
no @ pelikano
you are using the script as an object right? [putnpc2 script, not level] |
Quote:
|
Quote:
|
Quote:
|
All times are GMT +2. The time now is 07:32 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.