Template:Method: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens
No edit summary
>JulienDethurens
No edit summary
Line 4: Line 4:
|-style="background: #FFFFFF;"
|-style="background: #FFFFFF;"
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|Returns
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|Returns
|style="border-top: solid 1px black;"|{{{returns<includeonly>|[[nil]]</includeonly>}}}
|style="border-top: solid 1px black;"|{{{returns<includeonly>|{{nil}}</includeonly>}}}
|-style="background: #ffdddd;"
|-style="background: #ffdddd;"
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|Description:  
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|Description:  

Revision as of 07:19, 15 February 2012

[[{{{name}}} (Method)|{{{name}}}]]( {{{arguments}}} )
Returns {{{returns}}}
Description: {{{description}}}
In Object:

Example Usage

Single Object

FindFirstChild( string name, bool recursive = false )
Returns Template:Instance
Description: Returns the first child found with a name of name. Returns nil if no such child exists. If the optional recursive argument is true, will recursively descend the hierarchy while searching rather than only searching the immediate object.
In Object: Instance

Multiple Objects

BreakJoints( )
Returns nil
Description: Breaks any surface connection with any adjacent Part, including Welds and other JointInstances.
In Object: BasePart, Model