From 2f1506914f093157e67b2634aeddafc257f3b5d2 Mon Sep 17 00:00:00 2001 From: Stoabrogga <38475780+Stoabrogga@users.noreply.github.com> Date: Mon, 20 Jan 2020 12:44:09 +0100 Subject: docs(smart_scripts): Update SMART_ACTION_SET_ACTIVE & SMART_ACTION_SET_COUNTER (#173) --- docs/smart_scripts.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'docs') 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


-

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).

+

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).

SMART_ACTION_ATTACK_START

@@ -2474,8 +2474,8 @@ This is the probability of the event to occur as a percentage from 0-100. So, if

SMART_ACTION_SET_COUNTER

63

-counterID -value +

counterID

+

value

reset (0/1)


@@ -2483,8 +2483,7 @@ This is the probability of the event to occur as a percentage from 0-100. So, if


-


-

+

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.

SMART_ACTION_STORE_TARGET_LIST

-- cgit