|
|
|
|
|
%filterNotInZone()
Aliases | %filterNotInZone( ) |
---|
Parameters | array @anArray, mixed @zone1 [, mixed @zone2 [, mixed @zone3 [, ...] ] ] |
---|
|
This function will reduce an array of objects or mobiles to only those entries that are NOT found in the same zone location as one of the @zone parameters. A zone parameter can be an explicit zone ID. It can also be a room, mobile, or item in which case the room, mobile, or item's current zone location will be matched.
Example:
@members = %partyGetMobs( @victim ) @targets = %filterNotInZone( @members, @victim ) |
|
|
|
|
|
|
|