View Single Post
  #14  
Old 11-09-2015, 05:19 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

Tradeskill objects of Type 0 are handled specially. Type 0 is never used in-game for zone-interactable objects (it's the type for small bags in a character's inventory, I think), so a few years back I commandeered it for being able to place non-interactive static object models in a zone. It sends them as doors, with a door id of -1/255 and no scripting behind them.

And doors do not use the _ACTORDEF portion of the model name. I was sure I had coded in the type0object->door logic to remove _ACTORDEF if it came across it, but maybe it was just _DMSPRITEDEF, which people were using more often than _ACTORDEF for some reason back then.

I need to take a good look at that code and make sure it's still working perfectly with any changes that have been made to doors, objects, or entity lists since... 2009 or so. lol
Reply With Quote