Skip to content

Commit 6140f9a

Browse files
committed
Update Objects.Moveable.html
1 parent 702cfc9 commit 6140f9a

File tree

1 file changed

+40
-36
lines changed

1 file changed

+40
-36
lines changed

2 classes/Objects.Moveable.html

Lines changed: 40 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ <h2><a href="#Functions">Functions</a></h2>
130130
<td class="summary">Retrieve the object ID</td>
131131
</tr>
132132
<tr>
133-
<td class="name" ><a href="#Moveable:SetObjectID">Moveable:SetObjectID(ID)</a></td>
133+
<td class="name" ><a href="#Moveable:SetObjectID">Moveable:SetObjectID(objectID)</a></td>
134134
<td class="summary">Change the object's ID.</td>
135135
</tr>
136136
<tr>
@@ -221,7 +221,7 @@ <h2><a href="#Functions">Functions</a></h2>
221221
<td class="summary">Set the effect for this moveable.</td>
222222
</tr>
223223
<tr>
224-
<td class="name" ><a href="#Moveable:SetCustomEffect">Moveable:SetCustomEffect(Color1, Color2[, timeout])</a></td>
224+
<td class="name" ><a href="#Moveable:SetCustomEffect">Moveable:SetCustomEffect(color1, color2[, timeout])</a></td>
225225
<td class="summary">Set custom colored burn effect to moveable</td>
226226
</tr>
227227
<tr>
@@ -418,7 +418,7 @@ <h2><a href="#Functions">Functions</a></h2>
418418
<td class="summary">Attach camera to an object.</td>
419419
</tr>
420420
<tr>
421-
<td class="name" ><a href="#Moveable:AnimFromObject">Moveable:AnimFromObject(ObjectID, animNumber, stateID)</a></td>
421+
<td class="name" ><a href="#Moveable:AnimFromObject">Moveable:AnimFromObject(objectID, animNumber, stateID)</a></td>
422422
<td class="summary">Borrow animation from an object</td>
423423
</tr>
424424
</table>
@@ -518,7 +518,7 @@ <h3>Returns:</h3>
518518
<ol>
519519

520520
<span class="types"><a class="type" href="../4 enums/Objects.ObjID.html#">ObjID</a></span>
521-
a number representing the ID of the object
521+
a number representing the ID of the object.
522522
</ol>
523523

524524

@@ -527,7 +527,7 @@ <h3>Returns:</h3>
527527
</dd>
528528
<dt>
529529
<a name = "Moveable:SetObjectID"></a>
530-
<strong>Moveable:SetObjectID(ID)</strong>
530+
<strong>Moveable:SetObjectID(objectID)</strong>
531531
</dt>
532532
<dd>
533533
Change the object's ID. This will literally change the object.
@@ -536,7 +536,7 @@ <h3>Returns:</h3>
536536

537537
<h3>Parameters:</h3>
538538
<ul>
539-
<li><span class="parameter">ID</span>
539+
<li><span class="parameter">objectID</span>
540540
<span class="types"><a class="type" href="../4 enums/Objects.ObjID.html#">ObjID</a></span>
541541
the new ID
542542
</li>
@@ -795,7 +795,7 @@ <h3>Returns:</h3>
795795
<ol>
796796

797797
<span class="types"><a class="type" href="../3 primitive classes/Vec3.html#">Vec3</a></span>
798-
pos World position.
798+
World position.
799799
</ol>
800800

801801

@@ -815,7 +815,7 @@ <h3>Parameters:</h3>
815815
<ul>
816816
<li><span class="parameter">index</span>
817817
<span class="types"><span class="type">int</span></span>
818-
of a joint to get rotation
818+
Index of a joint to get rotation.
819819
</li>
820820
</ul>
821821

@@ -1053,7 +1053,7 @@ <h3>Parameters:</h3>
10531053
</dd>
10541054
<dt>
10551055
<a name = "Moveable:SetCustomEffect"></a>
1056-
<strong>Moveable:SetCustomEffect(Color1, Color2[, timeout])</strong>
1056+
<strong>Moveable:SetCustomEffect(color1, color2[, timeout])</strong>
10571057
</dt>
10581058
<dd>
10591059
Set custom colored burn effect to moveable
@@ -1062,17 +1062,17 @@ <h3>Parameters:</h3>
10621062

10631063
<h3>Parameters:</h3>
10641064
<ul>
1065-
<li><span class="parameter">Color1</span>
1065+
<li><span class="parameter">color1</span>
10661066
<span class="types"><a class="type" href="../3 primitive classes/Color.html#">Color</a></span>
1067-
color the primary color of the effect (also used for lighting).
1067+
The primary color of the effect (also used for lighting).
10681068
</li>
1069-
<li><span class="parameter">Color2</span>
1069+
<li><span class="parameter">color2</span>
10701070
<span class="types"><a class="type" href="../3 primitive classes/Color.html#">Color</a></span>
1071-
color the secondary color of the effect.
1071+
The secondary color of the effect.
10721072
</li>
10731073
<li><span class="parameter">timeout</span>
10741074
<span class="types"><span class="type">float</span></span>
1075-
time (in seconds) after which effect turns off.
1075+
Time (in seconds) after which effect turns off.
10761076
(<em>optional</em>)
10771077
</li>
10781078
</ul>
@@ -1096,7 +1096,7 @@ <h3>Returns:</h3>
10961096
<ol>
10971097

10981098
<span class="types"><a class="type" href="../4 enums/Effects.EffectID.html#">EffectID</a></span>
1099-
Sffect type currently assigned.
1099+
Effect type currently assigned.
11001100
</ol>
11011101

11021102

@@ -1116,7 +1116,7 @@ <h3>Parameters:</h3>
11161116
<ul>
11171117
<li><span class="parameter">index</span>
11181118
<span class="types"><span class="type">int</span></span>
1119-
of the ItemFlags, can be between 0 and 7.
1119+
Index of the ItemFlag, can be between 0 and 7.
11201120
</li>
11211121
</ul>
11221122

@@ -1144,11 +1144,11 @@ <h3>Parameters:</h3>
11441144
<ul>
11451145
<li><span class="parameter">value</span>
11461146
<span class="types"><span class="type">short</span></span>
1147-
to store in the moveable's ItemFlags[index]
1147+
Value to store in the moveable's ItemFlags[index].
11481148
</li>
11491149
<li><span class="parameter">index</span>
11501150
<span class="types"><span class="type">int</span></span>
1151-
of the ItemFlags where store the value.
1151+
Index of the ItemFlag where to store the value.
11521152
</li>
11531153
</ul>
11541154

@@ -1191,7 +1191,7 @@ <h3>Parameters:</h3>
11911191
<ul>
11921192
<li><span class="parameter">value</span>
11931193
<span class="types"><span class="type">short</span></span>
1194-
to store.
1194+
Value to store.
11951195
</li>
11961196
</ul>
11971197

@@ -1248,18 +1248,22 @@ <h3>Parameters:</h3>
12481248
<strong>Moveable:GetAIBits()</strong>
12491249
</dt>
12501250
<dd>
1251-
Get AIBits of object
1251+
1252+
<p>Get AIBits of object
12521253
This will return a table with six values, each corresponding to
12531254
an active behaviour. If the object is in a certain AI mode, the table will
12541255
have a <em>1</em> in the corresponding cell. Otherwise, the cell will hold
12551256
a <em>0</em>.</p>
12561257

1257-
<p> <br />1 - guard
1258-
<br />2 - ambush
1259-
<br />3 - patrol 1
1260-
<br />4 - modify
1261-
<br />5 - follow
1262-
<br />6 - patrol 2
1258+
<pre><code>1 - Guard
1259+
2 - Ambush
1260+
3 - Patrol 1
1261+
4 - Modify
1262+
5 - Follow
1263+
6 - Patrol 2
1264+
</code></pre>
1265+
1266+
12631267

12641268

12651269

@@ -1681,7 +1685,7 @@ <h3>Usage:</h3>
16811685
<strong>Moveable:GetStatus()</strong>
16821686
</dt>
16831687
<dd>
1684-
Get the moveable's status. ()
1688+
Get the moveable's status.
16851689

16861690

16871691

@@ -1702,7 +1706,7 @@ <h3>Returns:</h3>
17021706
<strong>Moveable:SetStatus(status)</strong>
17031707
</dt>
17041708
<dd>
1705-
Set the moveable's status. ()
1709+
Set the moveable's status.
17061710

17071711

17081712

@@ -2103,15 +2107,15 @@ <h3>Parameters:</h3>
21032107
<ul>
21042108
<li><span class="parameter">mesh</span>
21052109
<span class="types"><span class="type">int</span></span>
2106-
of a target moveable to use as a camera target
2110+
Mesh of a target moveable to use as a camera target.
21072111
</li>
21082112
<li><span class="parameter">target</span>
21092113
<span class="types"><a class="type" href="../2 classes/Objects.Moveable.html#Moveable">Moveable</a></span>
2110-
moveable to attach camera to
2114+
Target moveable to attach camera to.
21112115
</li>
21122116
<li><span class="parameter">mesh</span>
21132117
<span class="types"><span class="type">int</span></span>
2114-
of a target moveable to use as a camera target
2118+
Mesh of a target moveable to use as a camera target.
21152119
</li>
21162120
</ul>
21172121

@@ -2122,7 +2126,7 @@ <h3>Parameters:</h3>
21222126
</dd>
21232127
<dt>
21242128
<a name = "Moveable:AnimFromObject"></a>
2125-
<strong>Moveable:AnimFromObject(ObjectID, animNumber, stateID)</strong>
2129+
<strong>Moveable:AnimFromObject(objectID, animNumber, stateID)</strong>
21262130
</dt>
21272131
<dd>
21282132
Borrow animation from an object
@@ -2131,17 +2135,17 @@ <h3>Parameters:</h3>
21312135

21322136
<h3>Parameters:</h3>
21332137
<ul>
2134-
<li><span class="parameter">ObjectID</span>
2138+
<li><span class="parameter">objectID</span>
21352139
<span class="types"><a class="type" href="../4 enums/Objects.ObjID.html#">ObjID</a></span>
2136-
to take animation and stateID from,
2140+
Object ID to take animation and stateID from.
21372141
</li>
21382142
<li><span class="parameter">animNumber</span>
21392143
<span class="types"><span class="type">int</span></span>
2140-
animation from object
2144+
Animation from object.
21412145
</li>
21422146
<li><span class="parameter">stateID</span>
21432147
<span class="types"><span class="type">int</span></span>
2144-
state from object
2148+
state State from object.
21452149
</li>
21462150
</ul>
21472151

0 commit comments

Comments
 (0)