|
|
|
|
|
%getItemsWithId()
Aliases | %getItemsWithId( ) |
---|
Parameters | integer @id1 [, integer @id2 [, integer @id3 [, ...]]] |
---|
|
Returns an array of entity pointers to all objects in the world with any one of the given IDs.
Example:
foreach( %getItemsWithId( 37820 ) as @crystal ) { if( %getOwner( @crystal ) == @n ) { return } endif } endforeach
@crystal = %load( object, 37820, @this ) give @crystal @n |
|
|
|
|
|
|
|