IgeEntity

Method: streamDestroy

Issues a destroy entity command to the passed client id or array of ids. If no id is passed it will issue the command to all connected clients. If using streamMode(1) this method is called automatically.
streamDestroy (* clientId)
  • *clientId The id or array of ids to send the command to.
Returns Boolean

Send a destroy command for this entity to all clients

entity.streamDestroy();

Send a destroy command for this entity to an array of client ids

entity.streamDestroy(['43245325', '326755464', '436743453']);

Send a destroy command for this entity to a single client id

entity.streamDestroy('43245325');
© Copyright 2013 Irrelon Software Limited. All Rights Reserved. UK Registered Company Number: 07522767
Isogenic (ī´sōjen´ik): Adj originating from a common source; possessing the same genetic composition.
Strange Things Happen at the One Two Point