From db3e3bc2df1467565b4e8efbe69cdbde7510cfd7 Mon Sep 17 00:00:00 2001 From: Asheraf Date: Tue, 2 Oct 2018 12:13:21 +0100 Subject: Add missing documentation for script command achievement_progress() --- doc/script_commands.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'doc') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 64468ed49..42235ce33 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -10199,3 +10199,17 @@ camera. Works for 20160525 clients or newer. --------------------------------------- + +*achievement_progress(, , , {, }); + +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 + +--------------------------------------- -- cgit v1.2.3-60-g2f50