OnCheckpointUpdate
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...")
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.