Squirrel/Client/Functions/Players/Velocity

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

Latest revision as of 23:28, 12 September 2011

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

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

[edit] Syntax

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

  1. Vector Player.Velocity
  1. Player.Velocity = Vector vel

[edit] Arguments

  • vel - This is the changed velocity for the player as a Vector

[edit] 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.  

[edit] Notes

-- List of used functions and other notes here.

[edit] 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.  

[edit] Notes

-- List of used functions and other notes here.

[edit] Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox