Description:
// MAP 3/28/2009 object GetObjectByTagAndType(string sTag, int nObjectType, int nTh); |
---|
Overview:
This function does NOT appear to work. Don't use it.
Implementing a function override would be simple to do - but would not be more efficient as the description states.Contrary to popular belief, this function does work, but nObjectType is not what you'd expect.
nObjectType parameter does not use OBJECT_TYPE constants. You must instead use the following constants:
Code Block |
---|
AREA = 0x04 CREATURE = 0x05 ITEM = 0x06
TRIGGER = 0x07 PLACEABLE = 0x09 DOOR = 0x0A
AREAOFEFFECT = 0x0B WAYPOINT = 0x0C ENCOUNTER = 0x0D
STORE = 0x0E SOUND = 0x10 STATIC_CAMERA = 0x12
ENV_OBJECT = 0x13 TREE = 0x14 LIGHT = 0x15
PLACED_EFFECT = 0x16
GUI = 0x01 TILE = 0x02 MODULE = 0x03 PROJECTILE = 0x08 DYNAMIC = 0x11 PORTAL = 0x0F |