Squirrel/Client/Functions/Players/Pos

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with '{{Squirrel/Title|Player.Pos}} {{ScriptingChangesIn0.1.0.11}} This ''Player'' class member returns or sets the position of the given player. Note that setting will only affect the…')

Revision as of 23:27, 12 September 2011

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

This Player class member returns or sets the position of the given player. Note that setting will only affect the local player.

Syntax

You can either return or set a new value using this member:

  1. Vector Player.Pos
  1. Player.Pos = Vector pos

Arguments

  • pos - This is the new position for the player as a Vector

Example 1. Returning

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

Some explanation here

  1.  
  2. -- todo
  3.  

Notes

-- List of used functions and other notes here.

Example 2. Setting

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

Some explanation here too

  1.  
  2. -- todo
  3.  

Notes

-- List of used functions and other notes here.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox