Squirrel/Server/Functions/Spheres/CreateSphere

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with '{{Squirrel/Title|CreateSphere}} This function adds a new sphere to the game. == Syntax == <code>sphere CreateSphere( Vector pos, float radius, [int col] )</code> == Arguments …')

Revision as of 14:49, 15 October 2010

Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This function adds a new sphere to the game.

Syntax

  1. sphere CreateSphere( Vector pos, float radius, [int col] )

Arguments

  • pos - The location the sphere will spawn at
  • radius - The radius of the sphere
  • col - The spheres colour

Example

This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o

Explanation for the example

  1.  
  2. -- Todo
  3.  

Notes

-- List of used functions and other notes here.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox