Help

BEHAVIOR-INVOKER

For immortals Also: B-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 randomIf 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 randomIf you specify multiple objects, pick one of them at random (default is to invoke all).
inroom <room>|currentBy 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)).
toactorIf 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).
equiptoactorLike toactor except that the item will also be equipped if possible.
equiptoselfLike 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.
charmtoactorMake the mobile charmed to the actor.
charmtoselfMake the mobile charmed to the invoker.
spawnAlso send a "spawn" event to the mobile when invoking it.

(1) The mobiles and objects named must exist where the behavior runs: one made in a layer is in live once the layer is merged.

(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.

Example: ob fire-wand invoker say fuele' mob 24001 charmtoactor

Where a number names a room, a creature or an object, its address works too: club.west-bridge, or .west-bridge in the behaviour's own zone. The number is the old form (BEHAVIOR-ADDRESSES).