Player.Velocity

From Liberty Unleashed Wiki
Revision as of 23:28, 12 September 2011 by Juppi (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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.

Syntax

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

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

Arguments

  • vel - This is the changed velocity 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