From b980f8167c88aa91cb41ca448066fb0186c7c107 Mon Sep 17 00:00:00 2001 From: killerwife Date: Thu, 30 May 2024 13:02:56 +0200 Subject: [PATCH] Scripts: Make SCRIPT_COMMAND_DESPAWN_SELF reflect core impl --- doc/script_commands.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/script_commands.txt b/doc/script_commands.txt index ff8ccfba4c8..e722460a661 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -257,7 +257,7 @@ Defining a buddy could be done in several way: * datalong2 = amount * data_flags & SCRIPT_FLAG_COMMAND_ADDITIONAL: remove the item from player by the given amount -18 SCRIPT_COMMAND_DESPAWN_SELF resultingSource = Creature +18 SCRIPT_COMMAND_DESPAWN_SELF resultingTarget = Creature * datalong = despawn delay 19 SCRIPT_COMMAND_PLAY_MOVIE target can only be a player