summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/script_commands.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 5cba5afc8..1d691774a 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -10200,3 +10200,17 @@ camera.
Works for 20160525 clients or newer.
---------------------------------------
+
+*achievement_progress(<ach_id>, <obj_idx>, <progress>, <incremental>{, <account_id>});
+
+Make the player progress in the specified achievement.
+aid - achievement ID
+obj_idx - achievement objective index.
+progress - objective progress towards goal.
+incremental - (boolean) true to add the progress towards the goal,
+ false to use the progress only as a comparand.
+account_id - (optional) AID to perform on (default to attached player).
+
+returns progress on success and false on failure
+
+---------------------------------------