Page 1 of 1

Drop/Destroy Object and Step Macro (bug?)

Posted: Thu Jan 05, 2012 2:18 pm
by Admiral Ackguh
If the user destroys an object with the Drop command, the system does not fire the step macro afterwards. Note that if the user actually drops an object, the step macro (rightly) fires.

I was trying to implement "artifact" objects that return to a specific place if dropped, or if attempt made to destroy. I could make these objects NO DROP by setting Weight to 00, a not-well-documented feature - but that is not quite the same.

- A:A:

Posted: Tue Jan 17, 2012 12:13 pm
by rld
I have verified that the step macro fires in both room and worldmap regions when an object is dropped.

In worldmap regions, the step macro fires after an object is destroyed; however, in room-type regions, the step macro does not fire when an object is destroyed (instead of dropped).

So, definitely looks like a bug. Is this consistent with what you are seeing?

Posted: Wed Jan 18, 2012 9:57 pm
by Admiral Ackguh
So, definitely looks like a bug. Is this consistent with what you are seeing?
Yes.

I haven't tried it in worldmaps til now; but it behaves just as you said.

Code: Select all

             Drop   Destroy
  Worldmap    Y        Y
  Room        Y        N
- A:A:

Posted: Thu Jan 19, 2012 8:44 am
by rld
This should be fixed in the v0.8 patch. Let me know if it doesn't work for you.