IsCheckpointSphere: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
{
{
local isSphere=IsCheckpointSphere(checkpointId);
local isSphere=IsCheckpointSphere(checkpointId);
}</source>
}</source>|
relfuncs=*[[GetCheckpointRadius]]
relfuncs=*[[GetCheckpointRadius]]
*[[GetCheckpointColor]]
*[[GetCheckpointColor]]
*[[GetCheckpointPos]]
*[[GetCheckpointPos]]
}}
}}

Revision as of 06:16, 9 November 2023


Description:
Checks whether a checkpoint is sphere or not.


Parameters:

( checkpointId )

checkpointId : The ID of the target checkpoint whose shape is to be determined.


Return Values:
true if the checkpoint is sphere, false otherwise. This function throws error if invalid checkpointId is given.


Example

if(IsCheckpointStreamIn(checkpointId))
{
local isSphere=IsCheckpointSphere(checkpointId);
}

Related Functions

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