MUDL:npc in area

From WikiName
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 |}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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