![]() |
Quote:
PHP Code:
|
I need the NPC itself to reset itself, not it to reset a player.
|
Quote:
|
bump
|
I still do not believe this is necessary. Like it was said earlier in the thread, if you are needing to reset an NPC routinely then you are doing something wrong.
|
Quote:
|
Quote:
Dang it, Deas beat me to it! |
You can silently update a level (server-side) using:
fileupdate("level.nw"); Perhaps that would satisfy your wants. |
Quote:
|
Quote:
|
Quote:
Quote:
so how are your little idea supposed to work to prevent having to do "reset" on the dbnpc to call clientsided "onCreated"? i've confused myself :cool: |
The only way you're going be able to "reset" an npc is with sendtorc("/npc reset dbname") on the server-side, if you update the level, you'll update the client-side scripts as well.
I personally believe you should probably be doing something differently if you have to reset the NPC to get it working properly. |
Quote:
i often use it when i do levelnpc instead of having to alter the level before ive made the script.. and then i put it in a class when im done.. is that different enuf for you? ;) |
Quote:
|
All times are GMT +2. The time now is 01:40 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.