Questions about DISABLE_SELF

Questions about how to create your own dungeons and replacement graphics and sounds.

Moderator: George Gilbert

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

Questions about DISABLE_SELF

Post by Gambit37 »

Could you clarify exactly what DISABLE_SELF does? I assumed that it simply prevented a previously ACTIVE trigger from being activated again, but I'm getting some odd results.

Also, if the above is true, does sending an ACTIVATE command to the trigger re-enable it so it becomes ACTIVE again?
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Re: Questions about DISABLE_SELF

Post by George Gilbert »

The DISABLE_SELF parameter turns an item which had an associated trigger action into one that doesn't (e.g. turns a lock that does something into just a picture of a lock). Internally it actually deletes all the triggering data associated with the item so there's no way of re-setting it.

As a consequence, as your party goes through the dungeon, the ammount of data in the dungeon actually decreases (because as they complete a puzzle the data is deleted) thus improving performance and minimizing the size of the save game file...
Post Reply