I thought SpecialDropAction would do that, but it never fires:
Code: Select all
class invTest : inventory
{
default{+inventory.invbar;inventory.icon "UNKNA0";}
states{spawn: UNKN A -1; stop;}
override bool SpecialDropAction (Actor dropper)
{
console.printf(level.time..": "..GetCharacterName()..": Dropped");
return true;
}
}