Thread: npcs[0].id
View Single Post
  #2  
Old 01-30-2009, 05:59 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Tyhm View Post
ask a bunch of npcs what their id is (npcs[0].id).
Offline, they'll all give different answers.
Online, they'll all say 1.
Has this been secretly deprecated and nobody told me? -_-
The first entry in the npc's array obviously have the id of 1, since it's the first npc in that level to be initialized.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote