Scripting/Squirrel/Functions/Sphere.Color
This wiki is using an old backup from 2020
Some information may be old/missing
allows you to check Sphere's color in RGB
Syntax
Sphere.Color
Example
function onSphereEntered( player, Sphere )
{
MessagePlayer( "you have entered in a sphere, Sphere Color" + Sphere.Color, player );
}
Notes
Call [onSphereEntered] was used in this example. More info about it in the page.