Show
Ignore:
Timestamp:
11/19/08 13:38:01 (17 years ago)
Author:
yumileroy
Message:

[svn] * Allow WorldObjects? to keep the grid active, and prevent it from being unloaded. This can be done through calling WorldObject::setActive(bool) from the scripting library. Note that entire instances are still unloaded if no player is present on that map to save resources. This behavior can be changed if the need arises.

Original author: w12x
Date: 2008-10-27 08:41:55-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/Player.h

    r102 r120  
    903903        void AddToWorld(); 
    904904        void RemoveFromWorld(); 
     905        // always active 
     906        void setActive() {} 
    905907 
    906908        bool TeleportTo(uint32 mapid, float x, float y, float z, float orientation, uint32 options = 0);