OnCheckpointUpdate

From NPC for VCMP 0.4 Servers
Revision as of 15:31, 12 November 2023 by Habi (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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.