Drop/Destroy Object and Step Macro (bug?)

Chris H.'s Ultima / ACS-style game development system!

Moderators: Ice Cream Jonsey, joltcountry

Admiral Ackguh

Drop/Destroy Object and Step Macro (bug?)

Post 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:

rld
Posts: 223
Joined: Sun Jan 25, 2009 2:17 am
Location: Dallas, TX

Post 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?

Admiral Ackguh

Post 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:

rld
Posts: 223
Joined: Sun Jan 25, 2009 2:17 am
Location: Dallas, TX

Post by rld »

This should be fixed in the v0.8 patch. Let me know if it doesn't work for you.

Post Reply