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

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mindraker
m RBX.Lua.Tool (Object) moved to RBX.lua.Tool (Object)
>Mindraker
mNo edit summary
Line 16: Line 16:
In addition to the global properties, the Tool object also has these:
In addition to the global properties, the Tool object also has these:


*[[GripForward]]
*[[Enabled (Property)|Enabled]]
*[[GripPos]]
*[[GripForward (Property)|GripForward]]
*[[GripRight]]
*[[GripPos (Property)|GripPos]]
*[[GripUp]]
*[[GripRight (Property)|GripRight]]
*[[Enabled]]
*[[GripUp (Property)|GripUp]]
*[[TextureId]]
*[[TextureId (Property)|TextureId]]


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


*[[Activated]]
*[[Activated (Event)|Activated]]
*[[Deactivated]]
*[[Deactivated (Event)|Deactivated]]
*[[Equipped]]
*[[Equipped (Event)|Equipped]]
*[[Unequipped]]
*[[Unequipped (Event)|Unequipped]]
 


[[Category:ROBLOX Lua Objects]]
[[Category:ROBLOX Lua Objects]]

Revision as of 20:16, 18 September 2008


Description

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

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

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

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: