IsObjectSet(id, setName);
Posted: Thu Oct 18, 2012 8:29 pm
I used the function
IsObjectName(id, "tanktraps"); or
IsObjectName(id, "Dragons_teeth");
to know is the object in the tile is one of these.
I see that some objects share a name description (You need to keep the shift down to see the specific building, tank trap, etc.):
tanktraps, and Dragons_teeth:Tank Trap,
any house is a Building,
is there a functions to check the objects by its general description?, like:
IsObjectNameDescription(id, "Building");
IsObjectName(id, "tanktraps"); or
IsObjectName(id, "Dragons_teeth");
to know is the object in the tile is one of these.
I see that some objects share a name description (You need to keep the shift down to see the specific building, tank trap, etc.):
tanktraps, and Dragons_teeth:Tank Trap,
any house is a Building,
is there a functions to check the objects by its general description?, like:
IsObjectNameDescription(id, "Building");