Squirrel/Server/Functions/Objects/MoveTo

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with '{{Squirrel/Title|Object.MoveTo}} {{ScriptingChangesIn0.1.0.10}} This ''Object'' class method moves the object to the given co-ordinates. == Syntax == <code>bool Object.MoveTo( V…')
 

Latest revision as of 22:45, 9 September 2011

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

This Object class method moves the object to the given co-ordinates.

[edit] Syntax

  1. bool Object.MoveTo( Vector pos, float speed )

[edit] Arguments

  • pos - The position you wish to move this object to
  • speed - The movement speed as in-game co-ordinate units per second

[edit] Example

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