OnCheckpointStreamIn: 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 streamed in for npc. | params=<source>( checkpointId )</source> <poem>checkpointId : The ID of the streamed in checkpoint. </poem>| example=<source lang="lua"> function OnCheckpointStreamIn(checkpointId) { print("I see checkpoint with ID: "+ checkpointId); } </source>| relfuncs=*OnCheckpointDestroyed *OnCheckpointUpdate *IsCheckpointStreamedIn *ClaimEnterCheckpoint *ClaimExitCheckpoint }}")
 
(No difference)

Latest revision as of 15:12, 12 November 2023


Description:
Called when a checkpoint is streamed in for npc.


Parameters:

( checkpointId )

checkpointId : The ID of the streamed in checkpoint.


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


Example

function OnCheckpointStreamIn(checkpointId)
{
print("I see checkpoint with ID: "+ checkpointId);
}

Related Functions

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