SetNetworkLocalFloat
Description
Sets a local float variable for this client by name. Other clients can then read this variable by using the same name when requesting its value. A float variable may not have the same name as an integer variable. If the variable with that name does not exist it is created.
Definition
SetNetworkLocalFloat( iNetID, name, f )
void agk::SetNetworkLocalFloat( uint32_t iNetID, const char *name, float f )
SetNetworkLocalFloat( iNetID, name, f, mode )
void agk::SetNetworkLocalFloat( uint32_t iNetID, const char *name, float f, int mode )
Parameters
- iNetID - The ID of the network to check.
- name - The name of this variable.
- f - The value to set this variable to.
- mode - The type of this variable, 0=normal, 1=resetting