BEHAVIOR-INVOKER
Generic Room, Mobile, and Object Behavior
This behavior is used to create mobile(s) and/or object(s).
Arguments: <trigger> <options> [.]
Next Lines: [<behavior responses>]
mobile <mob vnum> Have the invoker invoke a mobile.
mobile random If you specify multiple mobiles, pick one of
them at random (default is to invoke all).
object <obj vnum> Have the invoker invoke an object.
object random If you specify multiple objects, pick one of
them at random (default is to invoke all).
inroom <room>|current By default, the invoker invokes mobiles in
the same room as the invoker and objects
on the invoker. The inroom option allows
you to specify an alternate room to place the
objects or mobiles in. inroom current
only makes sense for objects and says to put
the object in the same room as the invoker
(not in the invoker's inventory (mobs) or
inside the invoker (container)).
toactor If a character triggered the invoker, then
invoke any mobiles with the character and any
objects in the character's inventory. Otherwise
the default is taken (see inroom above).
equiptoactor Like toactor except that the item will
also be equipped if possible.
equiptoself Like equiptoactor except that the item
will be equipped on the self.
limit [saved] <#> Only invoke if there are fewer than # objects
and/or mobiles of that type already in the game.
If the optional saved parameter is included,
then include objects saved in character's rent
files in the count.
charmtoactor Make the mobile charmed to the actor.
charmtoself Make the mobile charmed to the invoker.
spawn Also send a "spawn" event to the mobile
when invoking it.
(1) All mobiles and objects must have been folded in order to be invoked.
(2) Avoid the 'xp machine' effect, where a behavior can be easily
triggered to invoke mobiles that can be constantly killed -- players
wouldn't even need to leave the room!
If a fire elemental's mobile vnum was 24001, the following would cause a fire elemental to be created in the same room as the person who said the magic word 'fuele' with a fire-wand. In addition, the fire elemental would be charmed to and following the person who uttered the magic word.
ex: ob fire-wand invoker say fuele' mob 24001 charmtoactor