TRIGGER_REPOP
Keywords:
TRIGGER_REPOP
Syntax: REPOP <percent>
The argument is a percentage, This trigger is checked when a mobile
is loaded in an area reset, and if the percentage roll is greater than the argument the trigger is activated. Could be used for such things as saying something, or loading an object, etc. It is a good trigger for making mobiless load "rare" objects.
When this repop trigger gets activated, the mobile will not have any
of its equipment set on it yet, so if the mobile needs give an object it should load it first with the MOB_OLOAD command.
Examples:
REPOP 3
This trigger will be activated when the mobile load itself because of an area reset and if the percentage roll is lower than 3.
REPOP 100
This trigger will be activated when the mobile load itself because of an area reset.