PDA

View Full Version : enemy UID=0;..?



Gleeok
04-14-2008, 04:03 AM
What does it mean, and more importantly; how do I fix it?


Script created NPC with UID = 18902
Script created NPC with UID = 18903
Script attempted to reference a nonexistent NPC!
You were trying to reference NPC with UID = 0; enemies on screen are UIDs 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903
Script attempted to reference a nonexistent NPC!
You were trying to reference NPC with UID = 0; enemies on screen are UIDs 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903
Script attempted to reference a nonexistent NPC!
You were trying to reference NPC with UID = 0; enemies on screen are UIDs 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903
Script attempted to reference a nonexistent NPC!
You were trying to reference NPC with UID = 0; enemies on screen are UIDs 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903
Script attempted to reference a nonexistent NPC!
You were trying to reference NPC with UID = 0; enemies on screen are UIDs 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903
Script attempted to reference a nonexistent NPC!
You were trying to reference NPC with UID = 0; enemies on screen are UIDs 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903
Script attempted to reference a nonexistent NPC!
You were trying to reference NPC with UID = 0; enemies on screen are UIDs 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903
Script attempted to reference a nonexistent NPC!
You were trying to reference NPC with UID = 0; enemies on screen are UIDs 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903
Script attempted to reference a nonexistent NPC!
You were trying to reference NPC with UID = 0; enemies on screen are UIDs 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903
Script attempted to reference a nonexistent NPC!
You were trying to reference NPC with UID = 0; enemies on screen are UIDs 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903
Script created NPC with UID = 25843

jman2050
04-14-2008, 02:35 PM
this means that the npc pointer you're using hasn't been initialized properly. The UID is a numerical token that identifies each enemy on screen (not to be confused with npc->ID, which refers to its position in the list), and is used when setting and working with npc pointers. Post some code if you're unsure where the problem may be.