![]() |
findnpcbyid
Is this not intended for DB NPCs? If that is the case, is there anyway to get a DB NPC object on the clientside?
|
Quote:
|
Well, you can get the object if your in the same level as the database npc.
(Database npcs appears in level.npcs[]) |
Quote:
|
it won't be used in only one level :(
|
findnpcbyid() can be used with any NPC. On the client there is really no difference between normal NPCs and Database NPCs. The clientside part only loads when you load the level.
If you get the NPC ID from the server you can manipulate the clientside parts of the NPC on all clients. |
Quote:
|
All times are GMT +2. The time now is 03:33 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.