Skip to content

Commit

Permalink
Scripts: Add missing SCRIPT_FLAG_BUDDY_BY_STRING_ID to doc file
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Nov 21, 2023
1 parent 389d920 commit 51d26e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/script_commands.txt
Expand Up @@ -70,6 +70,7 @@ Field which holds a combination of these flags:
SCRIPT_FLAG_BUDDY_BY_SPAWN_GROUP = 0x100, (buddy is from spawn group - NYI - TODO:)
SCRIPT_FLAG_ALL_ELIGIBLE_BUDDIES = 0x200, (multisource/multitarget - will execute for each eligible)
SCRIPT_FLAG_BUDDY_BY_GO = 0x400, (take the buddy by GO (for commands which can target both creature and GO))
SCRIPT_FLAG_BUDDY_BY_STRING_ID = 0x800, (takes buddy from string id - creature or go)

Detailed meaning described below!

Expand Down Expand Up @@ -160,6 +161,7 @@ Defining a buddy could be done in several way:
SCRIPT_FLAG_BUDDY_IS_PET = 0x20 (buddy is a pet)
SCRIPT_FLAG_BUDDY_IS_DESPAWNED = 0x40 (buddy is dead or despawned)
SCRIPT_FLAG_BUDDY_BY_POOL = 0x80 (buddy should be part of a pool)
SCRIPT_FLAG_BUDDY_BY_STRING_ID = 0x800 (buddy should be part of a spawn group)

-- --------------------------
## Each command has different parameters, and are as follows:
Expand Down

0 comments on commit 51d26e3

Please sign in to comment.