Scripting/Squirrel/Functions/Checkpoint.Radius: Difference between revisions
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
BrYaN FuRy (talk | contribs) (Created page with "Checkpoint.Radius is very easy first u need. to give name to checkpoint function onScriptLoad() { array <- CreateCheckpoint(null, 0, Vector( 132.42, 674.34, 12.6543 ), RGB( 2...") |
BrYaN FuRy (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
Checkpoint.Radius is very easy first u need. to give name to checkpoint | Checkpoint.Radius is very easy first u need. to give name to checkpoint | ||
function onScriptLoad() { array <- CreateCheckpoint(null, 0, Vector( 132.42, 674.34, 12.6543 ), RGB( 255, 0,255 ), 2); } | function onScriptLoad() | ||
{ | |||
array <- CreateCheckpoint(null, 0, Vector( 132.42, 674.34, 12.6543 ), RGB( 255, 0,255 ), 2); | |||
} | |||
now give him another radius like | now give him another radius like | ||
function onPlayerJoin( player ) { array.Radius = 2; } | |||
function onPlayerJoin( player ) | |||
{ | |||
array.Radius = 2; | |||
} | |||
By VCMP Team | By VCMP Team |
Revision as of 05:24, 28 July 2015
Checkpoint.Radius is very easy first u need. to give name to checkpoint
function onScriptLoad()
{
array <- CreateCheckpoint(null, 0, Vector( 132.42, 674.34, 12.6543 ), RGB( 255, 0,255 ), 2);
}
now give him another radius like
function onPlayerJoin( player )
{
array.Radius = 2;
}
By VCMP Team