MUDL:npc in area
From SlothMUD Wiki
Revision as of 23:57, 7 November 2018 by Teker (Talk | contribs) (Created page with " __TOC__ = Summary = {|class="abilitiestable" border="0" cellspacing="0" cellpadding="0" ! Function Name | npc_in_area |- ! Settable | No |- ! Returns | Character Array |}...")
Summary
Function Name | npc_in_area |
---|---|
Settable | No |
Returns | Character Array |
Parameter Options |
---|
Area |
This function returns a list of all NPCs in the specified area.
Example
setproc <parent> # on_foo foreach(npc_in_area(%area), %9, ( msg_room(%room, name(%9)) )), return(true) @ setproc <parent> # PROC_ENABLED 1