Posts: 94
Threads: 16
Joined: Oct 2008
Reputation:
0
Is it possible to give a NPC ID descending from GetMaxPlayers?
Posts: 1,849
Threads: 96
Joined: Apr 2010
Reputation:
0
Decrementing? Maybe yes it can be done
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
That's not what he wants. He wants like, if his server has 100 slots, for the NPCs to take up slot 99, 98, 97 ... not 0, 1, 2.
Now, there is no way to manually assign an id to an NPC. Maybe you could connect X fake NPC's first and then your real ones. Then disconnect the fake ones.
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
I understood it wrong. I don't know what "descending" is as English isn't my primary language.
I though how he can count how many are the NPCs from MAX_PLAYERS.
Sorry for my mistake.
You can possibly connect some NPC that you don't want and the NPCs that you want as the Limit on NPCs I think is 50.
Then kick the NPCs that you don't need and you will have NPCs with high id.