Attaching an instance to the party
Posted: Tue Jun 03, 2008 4:42 pm
What is the least trouble-prone, least headache-inducing way to temporarily make an instance stay on the same tile as the party (move with the party when it changes tile for any reason, including walking, falling dow a pit, taking stairs, getting teleported, acts of code, etc...) while changing the base code as little as possible?
The objective is to create an overlay like the ones in CSBWin, using a custom haze that is only visible when the party stands on it (and has a front0 view that displays the overlay.) If there is a better way to make overlays in DSB, I'm open to hearing about that as well.
Note: the overlay would need to be applied when the party does certain things (say, for instance, when a particular spell is cast) and would be removed under some conditions (time deadline in general, but anything is possible). Consequently, the property is not confined to a given area of the dungeon, and I am not going to tile the entire dungeon with the custom haze!
The objective is to create an overlay like the ones in CSBWin, using a custom haze that is only visible when the party stands on it (and has a front0 view that displays the overlay.) If there is a better way to make overlays in DSB, I'm open to hearing about that as well.
Note: the overlay would need to be applied when the party does certain things (say, for instance, when a particular spell is cast) and would be removed under some conditions (time deadline in general, but anything is possible). Consequently, the property is not confined to a given area of the dungeon, and I am not going to tile the entire dungeon with the custom haze!