OnCheckpointStreamIn

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


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.