Squirrel/Server/Functions/Objects/Stop
From Liberty Unleashed Wiki
(Difference between revisions)
(Created page with '{{Squirrel/Title|Object.Stop}} {{ScriptingChangesIn0.1.0.10}} This ''Object'' class method stops the objects movement and rotation. == Syntax == <code>bool Object.Stop( [ bool m…') |
Latest revision as of 22:51, 9 September 2011
This Object class method stops the objects movement and rotation.
[edit] Syntax
bool Object.Stop( [ bool movement, bool rotation ] )
[edit] Arguments
Without any arguments the function will stop both movement and rotation. You can also specify what to stop:
- movement - A boolean representing whether you wish to stop the objects movement
- rotation - A boolean representing whether you wish to stop the objects rotation
[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.