Skip to main content

TRIGGER_ROOMDEATH

Keywords: TRIGGER_ROOMDEATH
Syntax: ROOMDEATH <percent> The argument is a percentage, this trigger will be checked if something in the mob's room gets killed, and when the percentage roll is greater than the argument it will be activated. The mobile should be able to hear the death cry in the room, if the mobile is sleeping it doesn't get triggered. The main function of this trigger is for work with the token system. The killer can be refered as who activated the trigger ($n). Examples: ROOMDEATH 20 This trigger will be activated when something gets killed in the mobile's room and if the percentage roll is lower than 20. ROOMDEATH 100 This trigger will be activated when something gets killed in the mobile's room.