Squirrel/Server/Functions/Objects/MoveTo
From Liberty Unleashed Wiki
(Difference between revisions)
(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
This Object class method moves the object to the given co-ordinates.
[edit] Syntax
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
-- todo
[edit] Notes
-- List of used functions and other notes here.