Need a SWAP_INSTANCE action

Suggestions for new features for inclusion in RTC. Note that all the suggestions that have already been implemented have been moved to the RTC Archive forum.

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Need a SWAP_INSTANCE action

Post by Gambit37 »

The actions SWAP_GLOBAL and SWAP_GLOBAL_FAST are very handy, but have an obvious downside: they change *every* instance of the given object in the dungeon. You can clone things to get around this, but it's not ideal for managing stuff that can be created by the dungeon "on the fly."

So I propose 2 new actions: SWAP_INSTANCE and SWAP_INSTANCE_FAST. These would work similarly to the globals, but they will only swap the current instance of the object that fired the action. I see this as primarily used by monsters in their attack actions -- it would be the easiest way of giving lots of different types of attacks to a monster.
Post Reply