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