summaryrefslogtreecommitdiff
path: root/docs/smart_scripts.md
diff options
context:
space:
mode:
authorStoabrogga <38475780+Stoabrogga@users.noreply.github.com>2020-01-20 12:44:09 +0100
committerGitHub <noreply@github.com>2020-01-20 12:44:09 +0100
commit2f1506914f093157e67b2634aeddafc257f3b5d2 (patch)
tree4159aa60a9b68e96942f7b9c8e179ad6d9f8be35 /docs/smart_scripts.md
parent4518271dc59d4677aca590c076b0a26de1381376 (diff)
downloadwiki-2f1506914f093157e67b2634aeddafc257f3b5d2.tar.gz
wiki-2f1506914f093157e67b2634aeddafc257f3b5d2.tar.bz2
wiki-2f1506914f093157e67b2634aeddafc257f3b5d2.zip
docs(smart_scripts): Update SMART_ACTION_SET_ACTIVE & SMART_ACTION_SET_COUNTER (#173)
Diffstat (limited to 'docs/smart_scripts.md')
-rw-r--r--docs/smart_scripts.md9
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/smart_scripts.md b/docs/smart_scripts.md
index 14ea604..3979198 100644
--- a/docs/smart_scripts.md
+++ b/docs/smart_scripts.md
@@ -2253,7 +2253,7 @@ This is the probability of the event to occur as a percentage from 0-100. So, if
</p></td>
<td><p><br />
</p></td>
-<td><p>If a creature or GO is set active it will stay active even if no player is near. Take care, though, as it needs additional ressources (CPU/RAM) to keep them active (the grid where the creature or object is located cannot be unloaded and other objects/creatures nearby also stay active).</p></td>
+<td><p>If a creature or GO is set active it will stay active even if no player is near. Take care, though, as it needs additional ressources (CPU/RAM) to keep them active (other objects/creatures nearby stay active).</p></td>
</tr>
<tr class="even">
<td><p>SMART_ACTION_ATTACK_START</p></td>
@@ -2474,8 +2474,8 @@ This is the probability of the event to occur as a percentage from 0-100. So, if
<tr class="even">
<td><p>SMART_ACTION_SET_COUNTER</p></td>
<td><p>63</p></td>
-<td>counterID</td>
-<td>value</td>
+<td><p>counterID</p></td>
+<td><p>value</p></td>
<td><p>reset (0/1)</p></td>
<td><p><br />
</p></td>
@@ -2483,8 +2483,7 @@ This is the probability of the event to occur as a percentage from 0-100. So, if
</p></td>
<td><p><br />
</p></td>
-<td><p><br />
-</p></td>
+<td><p>If reset is 0 the counter with the specified ID is increased by the given value; if reset is 1 the counter is set to the value.</p></td>
</tr>
<tr class="odd">
<td><p>SMART_ACTION_STORE_TARGET_LIST</p></td>