New events for all entities:
- scriptEvent void setNetShaderParm( float parm, float value );
Sets the value of the specified shader parm and tansmits it over the network.
- scriptEvent float startNetSndShader( string shaderName, float channel, float netSync )
Plays a specific sound shader on the channel and returns the length
of the sound in seconds. This is not the prefered method of playing a
sound since you must ensure that the sound is loaded and transmits it
over the network is netSync is true.
New events for sys. :
- scriptEvent float getSkill();
Returns the current skill level. - scriptEvent float numPlayers();
Returns the number of players currently playing. Spectators are ignored.
- scriptEvent entity getClosestPlayer( vector position );
Returns the closest player. Spectators are ignored.
New events for info_player_start, info_player_coop and info_player_deathmatch:
- scriptEvent void enable();
Enables the spawn.
- scriptEvent void disable();
Disables the spawn.
New events for info_location:
- scriptEvent float numPlayers();
Returns the number of players in this location.
- scriptEvent float allPlayersIn();
Returns true, if all players are in this location, false otherwise.
- scriptEvent float noPlayersIn();
Returns true, if no players are in this location, false otherwise.