Scripting/Squirrel/Functions/Checkpoint.Radius
This wiki is using an old backup from 2020
Some information may be old/missing
Checkpoint.Radius : By using this function, You can set the radius of the checkpoint, that means how big the checkpoint will be. To do it, 1st of all, you need to create a checkpoint.
Syntax
Checkpoint.Radius = (int)Radius
Arguments
int Radius - The size/Radius of the checkpoint
Example
function onScriptLoad()
{
cp <- CreateCheckpoint(null, 0, Vector( 132.42, 674.34, 12.6543 ), RGB( 255, 0,255 ), 2);
}
function onPlayerJoin( player )
{
if ( GetPlayers() >=3 )
{
cp.Radius = 2;
}
}
By someone