1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Resolved GameObjects.getLoaded() range

Discussion in 'Developer Support' started by tztok, Dec 26, 2016.

  1. tztok

    Joined:
    Nov 7, 2015
    Messages:
    31
    Likes Received:
    5
    In what range will I get the objects if I use GameObjects.getLoaded()?
    like 100x100?

     
  2. Best Answer:
    Post #3 by SlashnHax, Dec 26, 2016
  3. Savior

    Savior Java Warlord

    Joined:
    Nov 17, 2014
    Messages:
    4,906
    Likes Received:
    2,748
    Not 100% sure if all objects in the loaded region are loaded (Npcs for example get loaded in a 16x16 area), but judging by your estimation, it should be 104x104, which is the size of one region.
     
  4. SlashnHax

    Joined:
    Dec 10, 2014
    Messages:
    3,216
    Likes Received:
    1,043
    For GameObjects it will be your loaded region, which as @Savior said, is 104x104. It's important to not that this area is not necessarily centred on your character, so a GameObject 20 coordinates away from you may not be loaded, as it's in another region.
     
    Snufalufugus likes this.

Share This Page

Loading...