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