OnCheckpointDestroyed
Revision as of 15:24, 12 November 2023 by Habi (talk | contribs) (Created page with "{{Welcome|desc=Called when a checkpoint is destroyed/StreamOut. Server sends this also when npc is far away(stream out) from checkpoint. params=<source>( checkpointId )</source> <poem>checkpointId : The ID of the checkpoint destroyed/streamedout. </poem>| example=<source lang="lua"> function OnCheckpointDestroyed(checkpointId) { print("The checkpoint "+ checkpointId+ " is destroyed! ); } </source>| relfuncs=*OnCheckpointStreamIn *OnCheckpointUpdate *IsCheckpoi...")
Description:
Called when a checkpoint is destroyed/StreamOut. Server sends this also when npc is far away(stream out) from checkpoint.
( checkpointId )
checkpointId : The ID of the checkpoint destroyed/streamedout.
Parameters:
NoParams
Return Values:
This function does not return any specific values.
Example
function OnCheckpointDestroyed(checkpointId) { print("The checkpoint "+ checkpointId+ " is destroyed! ); }
Related Functions
The following functions may be helpful as they relate to this function in one way or another.