summaryrefslogtreecommitdiff
path: root/docs/creature_formations.md
diff options
context:
space:
mode:
authorWalter Pagani <paganiwalter@gmail.com>2021-01-08 15:23:34 -0300
committerGitHub <noreply@github.com>2021-01-08 19:23:34 +0100
commitb698f1ae91c570ad532ed935aeb47f69bd5c487c (patch)
treef5e3d3354884b9ef2795086070603c199928ca3b /docs/creature_formations.md
parentafd0af6edd8b175d58be2b8464128e7d83882acf (diff)
downloadwiki-b698f1ae91c570ad532ed935aeb47f69bd5c487c.tar.gz
wiki-b698f1ae91c570ad532ed935aeb47f69bd5c487c.tar.bz2
wiki-b698f1ae91c570ad532ed935aeb47f69bd5c487c.zip
docs: Converting from HTML to Markdown part #6 (#335)
Diffstat (limited to 'docs/creature_formations.md')
-rw-r--r--docs/creature_formations.md137
1 files changed, 26 insertions, 111 deletions
diff --git a/docs/creature_formations.md b/docs/creature_formations.md
index b170b5e..9e25748 100644
--- a/docs/creature_formations.md
+++ b/docs/creature_formations.md
@@ -8,100 +8,23 @@ This table allows to group mobs. Members of group will follow others, and attack
**Structure**
-<table>
-<colgroup>
-<col width="12%" />
-<col width="12%" />
-<col width="12%" />
-<col width="12%" />
-<col width="12%" />
-<col width="12%" />
-<col width="12%" />
-<col width="12%" />
-</colgroup>
-<tbody>
-<tr class="odd">
-<td><p><strong>Field</strong></p></td>
-<td><p><strong>Type</strong></p></td>
-<td><p><strong>Attributes</strong></p></td>
-<td><p><strong>Key</strong></p></td>
-<td><p><strong>Null</strong></p></td>
-<td><p><strong>Default</strong></p></td>
-<td><p><strong>Extra</strong></p></td>
-<td><p><strong>Comment</strong></p></td>
-</tr>
-<tr class="even">
-<td><p><a href="#leaderguid">leaderGUID</a></p></td>
-<td><p>int(11)</p></td>
-<td><p>unsigned</p></td>
-<td><p> </p></td>
-<td><p>NO</p></td>
-<td><p>NULL</p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-</tr>
-<tr class="odd">
-<td><p><a href="#memberguid">memberGUID</a></p></td>
-<td><p>int(11)</p></td>
-<td><p>unsigned</p></td>
-<td><p>PRI</p></td>
-<td><p>NO</p></td>
-<td><p>NULL</p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-</tr>
-<tr class="even">
-<td><p><a href="#dist">dist</a></p></td>
-<td><p>float</p></td>
-<td><p>unsigned</p></td>
-<td><p> </p></td>
-<td><p>NO</p></td>
-<td><p>NULL</p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-</tr>
-<tr class="odd">
-<td><p><a href="#angle">angle</a></p></td>
-<td><p>float</p></td>
-<td><p>unsigned</p></td>
-<td><p> </p></td>
-<td><p>NO</p></td>
-<td><p>NULL</p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-</tr>
-<tr class="even">
-<td><a href="#groupai">groupAI</a></td>
-<td>int(11)</td>
-<td>unsigned</td>
-<td> </td>
-<td>NO</td>
-<td>NULL</td>
-<td> </td>
-<td> </td>
-</tr>
-<tr class="odd">
-<td><a href="#point_1">point_1</a></td>
-<td>int(11)</td>
-<td>unsigned</td>
-<td> </td>
-<td>NO</td>
-<td>0</td>
-<td> </td>
-<td> </td>
-</tr>
-<tr class="even">
-<td><p><a href="#point_2">point_2</a></p></td>
-<td><p>int(11)</p></td>
-<td><p>unsigned</p></td>
-<td><p> </p></td>
-<td><p>NO</p></td>
-<td><p>0</p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-</tr>
-</tbody>
-</table>
+| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
+|-----------------|---------|------------|-----|------|---------|-------|---------|
+| [leaderGUID][1] | int(11) | unsigned | | NO | NULL | | |
+| [memberGUID][2] | int(11) | unsigned | PRI | NO | NULL | | |
+| [dist][3] | float | unsigned | | NO | NULL | | |
+| [angle][4] | float | unsigned | | NO | NULL | | |
+| [groupAI][5] | int(11) | unsigned | | NO | NULL | | |
+| [point_1][6] | int(11) | unsigned | | NO | 0 | | |
+| [point_2][7] | int(11) | unsigned | | NO | 0 | | |
+
+[1]: #leaderguid
+[2]: #memberguid
+[3]: #dist
+[4]: #angle
+[5]: #groupai
+[6]: #point_1
+[7]: #point_2
## leaderGUID
@@ -126,14 +49,13 @@ Note: Only degrees are used! Values should be between 0 and 360
Sets group member behaviours, values are:
-| | |
-|-------|--------------------------------------------------------------|
| Value | Behaviour |
+|-------|--------------------------------------------------------------|
| 0 | Noone assists noone and member don't follow the leader |
-| 512 | Noone assists noone and member follow the leader |
| 1 | The member aggroes if the leader aggroes |
| 2 | The leader aggroes if the member aggroes |
| 3 | Everyone assists everyone and member don't follow the leader |
+| 512 | Noone assists noone and member follow the leader |
| 515 | Everyone assists everyone and member follow the leader |
## point\_1  
@@ -142,25 +64,18 @@ Sets group member behaviours, values are:
These values are used to set leaderGUID pre ending path points for memberGUID's where the path is a straight return path and memberGUID's should not crossover to other side of leaderGUID on direction change.
-If your leader has a path like the one below where he moves to point 5 then back to 1 you would set point\_1 = 4 and point\_2 = 8 on the memberGUID. If the memberGUID is at angle 90 up to point 5 it will switch to angle 270 for the return trip. This is only needed to keep creatures on the correct side. these values can be left at 0 for creatures following directly behind leaderGUID or any creatures in a circular path. 
-
+If your leader has a path like the one below where he moves to point 5 then back to 1 you would set point\_1 = 4 and point\_2 = 8 on the memberGUID. If the memberGUID is at angle 90 up to point 5 it will switch to angle 270 for the return trip. This is only needed to keep creatures on the correct side. these values can be left at 0 for creatures following directly behind leaderGUID or any creatures in a circular path.
-1     2     3     4    5
+```
+ 1 2 3 4 5
------&lt;---------&gt;------
+ -----<--------->------
-       8    7      6
+ 8 7 6
+```
-
-
-
+If your leader has a path like the one below where he moves to point 5 then back to 1 you would set point\_1 = 4 and point\_2 = 8 on the memberGUID. If the memberGUID is at angle 90 up to point 5 it will switch to angle 270 for the return trip. This is only needed to keep creatures on the correct side. these values can be left at 0 for creatures following directly behind leaderGUID or any creatures in a circular path.
## Attachments:
![](images/icons/bullet_blue.gif){width="8" height="8"} [followangle2.png](attachments/2129997/2130322.png) (image/png)
-