consequences of NPC on your server
#1

evry think is on the title
pls if you know any thing about that , i mean if NPC make your server slower / if it creat trouble with other player
what ever just post important informations about NPC thanks
Reply
#2

NPCs would make your server slower because they also call all the callbacks a normal player have(e.g. OnPlayerUpdate).
I think they will not use external bandwidth to sync with server because they are in local host.
Still, no big issues there.
The disadvantages of using NPCs is they're uncontrollable(only play records), immortal and their vehicles can crash with other player(and their vehicles).
Reply
#3

Quote:
Originally Posted by leong124
Посмотреть сообщение
The disadvantages of using NPCs is they're uncontrollable(only play records), immortal and their vehicles can crash with other player(and their vehicles).
well you can make them "mortal"
you can give them a Var
for example setvar 10
and you give them -1 Var if a player hit them when Var = 0 you can make an anim ( exaple knifed or a dead anim)
i had some thng like that in 0.3b
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)