Combining abilities of objects
Posted: Fri Aug 16, 2002 1:21 pm
It appears that each of the active/interactive objects in RTC have a very specific set of parameters and features.
For example, in my previous attempt to make some clever alcoves, I was trying to make it so that a certain object when placed in the alcove, would cause some effect and then be deleted, the same way keys disappear in keyholes. I tried this with the DESTROY_ITEM parameter, but nothing happened. In the end I had to use a teleporter on the same tile as the alcove to teleport the object to a locked area of dungeon. Of course, this causes warnings in the compilation process.
I'm therefore wondering if it's possible to combine and/or genericise all the abilities/parameters of objects, so that any object can become active and affect further items/objects using all possible functions? Would that not make dungeon building more flexible? Is it difficult to implement?
For example, in my previous attempt to make some clever alcoves, I was trying to make it so that a certain object when placed in the alcove, would cause some effect and then be deleted, the same way keys disappear in keyholes. I tried this with the DESTROY_ITEM parameter, but nothing happened. In the end I had to use a teleporter on the same tile as the alcove to teleport the object to a locked area of dungeon. Of course, this causes warnings in the compilation process.
I'm therefore wondering if it's possible to combine and/or genericise all the abilities/parameters of objects, so that any object can become active and affect further items/objects using all possible functions? Would that not make dungeon building more flexible? Is it difficult to implement?