OnCheckpointUpdate: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
(Created page with "{{Welcome|desc=Called when a checkpoint is updated by server. | params=<source>( checkpointId, updatetype )</source> <poem>checkpointId : The ID of the checkpoint which was updated. updatetype : 0 for radius, 1 for position and 2 for colour update. </poem>| example=<source lang="lua"> function OnCheckpointUpdate(checkpointId, updatetype) { } </source>| relfuncs=*OnCheckpointDestroyed *OnCheckpointStreamIn *IsCheckpointStreamedIn *ClaimEnterCheckpoint *C...")
 
(No difference)

Latest revision as of 15:31, 12 November 2023


Description:
Called when a checkpoint is updated by server.


Parameters:

( checkpointId, updatetype )

checkpointId : The ID of the checkpoint which was updated.
updatetype : 0 for radius, 1 for position and 2 for colour update.


Return Values:
This function does not return any specific values.


Example

function OnCheckpointUpdate(checkpointId, updatetype)
{
}

Related Functions

The following functions may be helpful as they relate to this function in one way or another.