client_id

The unique identification number of the client who has created this entity; also serves as the VIEW* pointer for a layered entity.

Type:

var

Remarks:

Examples:

// wait on a client until a just-created entity becomes valid
while(my.client_id != dplay_id) wait(1);

// send a variable from a server to the client that cretated the my entity
send_var_id(my.client_id,myvar);
// change the view of a view entity viewent.client_id = camera;

See also:

send_var_id , send_string_id, send_data_id, ent_createlayer

► latest version online