RBX.lua.Tool (Object): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Blocco
No edit summary
>GoldenUrg
Fixed description
Line 6: Line 6:
The Tool object acts as a weapon or other object that is stored in a [[RBX.lua.Player (Object)|Player]]'s [[RBX.lua.Backpack (Object)|Backpack]].
The Tool object acts as a weapon or other object that is stored in a [[RBX.lua.Player (Object)|Player]]'s [[RBX.lua.Backpack (Object)|Backpack]].


When selected, a tool is automatically transferred to the Player's character and it is held in the right hand be default.
When equipped, a tool is automatically transferred to the Player's character and it is held in the right hand by default.


Tools require scripting to function.  However, you can create tools that allow you to wear items, such as a temporary hat.
Tools require scripting to function.


==Functions==
==Functions==

Revision as of 03:08, 13 April 2010


Preliminary:This item is under development and is likely to change. Use only for experimental work.

The Tool object acts as a weapon or other object that is stored in a Player's Backpack.

When equipped, a tool is automatically transferred to the Player's character and it is held in the right hand by default.

Tools require scripting to function.

Functions

The Tool object only incorporates global functions.

Properties

In addition to the global properties, the Tool object also has these:

Events

In addition to the global events, the Tool object also has these: