Scripting/Squirrel/Functions/Sphere.Owner: Difference between revisions
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
Decent 946 (talk | contribs) (Created page with "allows you to check Sphere's Owner. where Owner stands for "creater of Sphere" == Syntax == <pre>Sphere.Color</pre> == Example == <source lang=D> function onSphereEntered...") |
Decent 946 (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
== Syntax == | == Syntax == | ||
<pre>Sphere. | <pre>Sphere.Owner</pre> | ||
Line 15: | Line 15: | ||
</source> | </source> | ||
=== Notes === | === Notes === | ||
Call [[onSphereEntered]] was used in this example.. | |||
== Related Functions == | |||
{{Scripting/Squirrel/Functions/Sphere_Functions}} |
Latest revision as of 17:00, 15 March 2016
allows you to check Sphere's Owner. where Owner stands for "creater of Sphere"
Syntax
Sphere.Owner
Example
function onSphereEntered( player, Sphere )
{
MessagePlayer( "Sphere's Owner: "+ Sphere.Owner, player );
}
Notes
Call onSphereEntered was used in this example..