User Tag List

Results 1 to 2 of 2

Thread: enemy UID=0;..?

  1. #1
    The Time-Loop Continues ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,826
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,959
    Level
    33
    vBActivity - Bars
    Lv. Percent
    26.23%

    enemy UID=0;..?

    What does it mean, and more importantly; how do I fix it?
    Code:
    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
    This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.

  2. #2
    Developer
    ZC Developer
    jman2050's Avatar
    Join Date
    Jun 2001
    Location
    Do you really need to know
    Age
    37
    Posts
    3,883
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    5,709
    Level
    23
    vBActivity - Bars
    Lv. Percent
    46.21%

    Re: enemy UID=0;..?

    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.
    AGN's Resident Zelda Classic Developer and Sonic the Hedgehog Fanboy

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social