Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] I'm assuming that if an SAI action condition doesn't use the "OR -1" flag then it's automatically an

[DiscordArchive] I'm assuming that if an SAI action condition doesn't use the "OR -1" flag then it's automatically an

[DiscordArchive] I'm assuming that if an SAI action condition doesn't use the "OR -1" flag then it's automatically an

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
10-31-2024, 05:05 PM
#1
Archived author: Minadude • Posted: 2024-10-31T17:05:10.010000+00:00
Original source

I'm assuming that if an SAI action condition doesn't use the "OR -1" flag then it's automatically an "AND" for each condition we add to the same action. correct?
rektbyfaith
10-31-2024, 05:05 PM #1

Archived author: Minadude • Posted: 2024-10-31T17:05:10.010000+00:00
Original source

I'm assuming that if an SAI action condition doesn't use the "OR -1" flag then it's automatically an "AND" for each condition we add to the same action. correct?

rektbyfaith
Administrator
0
10-31-2024, 05:05 PM
#2
Archived author: Minadude • Posted: 2024-10-31T17:05:55.763000+00:00
Original source

for example:

(22, 9, 991305, 0, 0, 16, 0, 1, 0, 0, 0, 'Action invoker race is part of racemask Human'),
(22, 9, 991305, 0, 0, 15, 0, 32, 0, 0, 1, 'Action invoker class is not part of classmask Death Knight');

This means action invoker has to be both HUMAN and NOT a DK for this action to work.

right?
rektbyfaith
10-31-2024, 05:05 PM #2

Archived author: Minadude • Posted: 2024-10-31T17:05:55.763000+00:00
Original source

for example:

(22, 9, 991305, 0, 0, 16, 0, 1, 0, 0, 0, 'Action invoker race is part of racemask Human'),
(22, 9, 991305, 0, 0, 15, 0, 32, 0, 0, 1, 'Action invoker class is not part of classmask Death Knight');

This means action invoker has to be both HUMAN and NOT a DK for this action to work.

right?

rektbyfaith
Administrator
0
10-31-2024, 05:06 PM
#3
Archived author: Minadude • Posted: 2024-10-31T17:06:31.242000+00:00
Original source


[Image: image.png?ex=690c2cd7&is=690adb57&hm=ae5...9b8e60701&]
rektbyfaith
10-31-2024, 05:06 PM #3

Archived author: Minadude • Posted: 2024-10-31T17:06:31.242000+00:00
Original source


[Image: image.png?ex=690c2cd7&is=690adb57&hm=ae5...9b8e60701&]

rektbyfaith
Administrator
0
10-31-2024, 05:39 PM
#4
Archived author: bandysc • Posted: 2024-10-31T17:39:39.541000+00:00
Original source

Yes, it is AND by default
rektbyfaith
10-31-2024, 05:39 PM #4

Archived author: bandysc • Posted: 2024-10-31T17:39:39.541000+00:00
Original source

Yes, it is AND by default

rektbyfaith
Administrator
0
10-31-2024, 05:40 PM
#5
Archived author: bandysc • Posted: 2024-10-31T17:40:06.950000+00:00
Original source

But the menu option will still be displayed, this is only a condition for the event
rektbyfaith
10-31-2024, 05:40 PM #5

Archived author: bandysc • Posted: 2024-10-31T17:40:06.950000+00:00
Original source

But the menu option will still be displayed, this is only a condition for the event

rektbyfaith
Administrator
0
10-31-2024, 05:40 PM
#6
Archived author: bandysc • Posted: 2024-10-31T17:40:28.748000+00:00
Original source

If you want to hide the option completely, open gossip menu option editor and edit conditions there
rektbyfaith
10-31-2024, 05:40 PM #6

Archived author: bandysc • Posted: 2024-10-31T17:40:28.748000+00:00
Original source

If you want to hide the option completely, open gossip menu option editor and edit conditions there

rektbyfaith
Administrator
0
10-31-2024, 05:40 PM
#7
Archived author: Minadude • Posted: 2024-10-31T17:40:53.276000+00:00
Original source

Oh That's neat. Thanks
rektbyfaith
10-31-2024, 05:40 PM #7

Archived author: Minadude • Posted: 2024-10-31T17:40:53.276000+00:00
Original source

Oh That's neat. Thanks

rektbyfaith
Administrator
0
10-31-2024, 05:49 PM
#8
Archived author: Minadude • Posted: 2024-10-31T17:49:05.380000+00:00
Original source

all is working perfectly....

now here is a difficult one I think:

i want to put a permanent "flag" on the player character with SAI. I was thinking a custom achievement perhaps? so that LATER on, the SAI can check if player has said achievement or not as a condition for an SAI event.

any "better idea" ?

and if so, can I get away with it, without modifying DBC for achievement data ?
rektbyfaith
10-31-2024, 05:49 PM #8

Archived author: Minadude • Posted: 2024-10-31T17:49:05.380000+00:00
Original source

all is working perfectly....

now here is a difficult one I think:

i want to put a permanent "flag" on the player character with SAI. I was thinking a custom achievement perhaps? so that LATER on, the SAI can check if player has said achievement or not as a condition for an SAI event.

any "better idea" ?

and if so, can I get away with it, without modifying DBC for achievement data ?

rektbyfaith
Administrator
0
10-31-2024, 05:51 PM
#9
Archived author: Meji • Posted: 2024-10-31T17:51:02.018000+00:00
Original source

tracking quest
rektbyfaith
10-31-2024, 05:51 PM #9

Archived author: Meji • Posted: 2024-10-31T17:51:02.018000+00:00
Original source

tracking quest

rektbyfaith
Administrator
0
10-31-2024, 05:52 PM
#10
Archived author: Minadude • Posted: 2024-10-31T17:52:00.212000+00:00
Original source

hmm... so simple... yet efficient. very nice. thank you! and I can add the quest to the player without them actually taking or completing it.

AMazing! Thank you <@151344107623546880>
rektbyfaith
10-31-2024, 05:52 PM #10

Archived author: Minadude • Posted: 2024-10-31T17:52:00.212000+00:00
Original source

hmm... so simple... yet efficient. very nice. thank you! and I can add the quest to the player without them actually taking or completing it.

AMazing! Thank you <@151344107623546880>

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)