GetCheckpointPos: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
(Created page with "{{Welcome|desc= Returns the position of the checkpoint.| params=<source>( checkpointId )</source> <poem>objectId : The ID of the checkpoint whose position is to be obtained. </poem>| retvals=The position of checkpoint as Vector. Throws error if checkpoint with the specified ID is not found.| relfuncs=*GetCheckpointColor *GetCheckpointRadius *GetCheckpointCount *ClaimEnterCheckpoint }}")
 
No edit summary
Line 1: Line 1:
{{Welcome|desc= Returns the position of the checkpoint.|
{{Welcome|desc= Returns the position of the checkpoint.|
params=<source>( checkpointId )</source>
params=<source>( checkpointId )</source>
<poem>objectId : The ID of the checkpoint whose position is to be obtained.
<poem>checkpointId : The ID of the checkpoint whose position is to be obtained.
</poem>|
</poem>|
retvals=The position of checkpoint as Vector. Throws error if checkpoint with the specified ID is not found.|
retvals=The position of checkpoint as Vector. Throws error if checkpoint with the specified ID is not found.|

Revision as of 09:44, 12 November 2023


Description:
Returns the position of the checkpoint.


Parameters:

( checkpointId )

checkpointId : The ID of the checkpoint whose position is to be obtained.


Return Values:
The position of checkpoint as Vector. Throws error if checkpoint with the specified ID is not found.



Related Functions

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