Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Is it possible to set it up with SAI in such a way that if you talk to an NPC, there is only a 10% c

[DiscordArchive] Is it possible to set it up with SAI in such a way that if you talk to an NPC, there is only a 10% c

[DiscordArchive] Is it possible to set it up with SAI in such a way that if you talk to an NPC, there is only a 10% c

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
09-25-2022, 03:51 PM
#1
Archived author: Krutok • Posted: 2022-09-25T15:51:34.784000+00:00
Original source

Is it possible to set it up with SAI in such a way that if you talk to an NPC, there is only a 10% chance, say, of them becoming hostile?

The background is that I created an NPC, if you talk to him he becomes hostile and you can/must kill him. But not just kill one but 4-5 as an example. So I let the npc spawn 20x and they all have the same SAI script, but not everyone you speak to should become hostile, but only have a chance of, say, 10%, is that possible?
rektbyfaith
09-25-2022, 03:51 PM #1

Archived author: Krutok • Posted: 2022-09-25T15:51:34.784000+00:00
Original source

Is it possible to set it up with SAI in such a way that if you talk to an NPC, there is only a 10% chance, say, of them becoming hostile?

The background is that I created an NPC, if you talk to him he becomes hostile and you can/must kill him. But not just kill one but 4-5 as an example. So I let the npc spawn 20x and they all have the same SAI script, but not everyone you speak to should become hostile, but only have a chance of, say, 10%, is that possible?

rektbyfaith
Administrator
0
09-25-2022, 03:54 PM
#2
Archived author: Naddley • Posted: 2022-09-25T15:54:48.262000+00:00
Original source

you could work with event_chance I think
rektbyfaith
09-25-2022, 03:54 PM #2

Archived author: Naddley • Posted: 2022-09-25T15:54:48.262000+00:00
Original source

you could work with event_chance I think

rektbyfaith
Administrator
0
09-25-2022, 04:13 PM
#3
Archived author: Krutok • Posted: 2022-09-25T16:13:44.306000+00:00
Original source

ok works but close gossip somehow doesn't work, if i click on the option then the gossip menu should close
rektbyfaith
09-25-2022, 04:13 PM #3

Archived author: Krutok • Posted: 2022-09-25T16:13:44.306000+00:00
Original source

ok works but close gossip somehow doesn't work, if i click on the option then the gossip menu should close

rektbyfaith
Administrator
0
09-25-2022, 04:14 PM
#4
Archived author: Naddley • Posted: 2022-09-25T16:14:27.321000+00:00
Original source

mostly cause of wrong Targettype
rektbyfaith
09-25-2022, 04:14 PM #4

Archived author: Naddley • Posted: 2022-09-25T16:14:27.321000+00:00
Original source

mostly cause of wrong Targettype

rektbyfaith
Administrator
0
09-25-2022, 04:14 PM
#5
Archived author: Naddley • Posted: 2022-09-25T16:14:29.482000+00:00
Original source

try 7
rektbyfaith
09-25-2022, 04:14 PM #5

Archived author: Naddley • Posted: 2022-09-25T16:14:29.482000+00:00
Original source

try 7

rektbyfaith
Administrator
0
09-25-2022, 04:15 PM
#6
Archived author: Krutok • Posted: 2022-09-25T16:15:42.741000+00:00
Original source

that's how I have it
[Image: Screenshot_2022-09-25_181513.jpg?ex=690c...fad13ae2f&]
rektbyfaith
09-25-2022, 04:15 PM #6

Archived author: Krutok • Posted: 2022-09-25T16:15:42.741000+00:00
Original source

that's how I have it
[Image: Screenshot_2022-09-25_181513.jpg?ex=690c...fad13ae2f&]

rektbyfaith
Administrator
0
09-25-2022, 04:17 PM
#7
Archived author: Krutok • Posted: 2022-09-25T16:17:19.373000+00:00
Original source

this not work
rektbyfaith
09-25-2022, 04:17 PM #7

Archived author: Krutok • Posted: 2022-09-25T16:17:19.373000+00:00
Original source

this not work

rektbyfaith
Administrator
0
09-25-2022, 04:28 PM
#8
Archived author: Naddley • Posted: 2022-09-25T16:28:43.703000+00:00
Original source

did you do it with Gossip Click Event or Link to the 10% event
rektbyfaith
09-25-2022, 04:28 PM #8

Archived author: Naddley • Posted: 2022-09-25T16:28:43.703000+00:00
Original source

did you do it with Gossip Click Event or Link to the 10% event

rektbyfaith
Administrator
0
09-25-2022, 04:32 PM
#9
Archived author: Krutok • Posted: 2022-09-25T16:32:13.060000+00:00
Original source

yeah and testet with 30% works but the gossip menu not close
[Image: Screenshot_2022-09-25_183119.jpg?ex=690c...b841ee658&]
rektbyfaith
09-25-2022, 04:32 PM #9

Archived author: Krutok • Posted: 2022-09-25T16:32:13.060000+00:00
Original source

yeah and testet with 30% works but the gossip menu not close
[Image: Screenshot_2022-09-25_183119.jpg?ex=690c...b841ee658&]

rektbyfaith
Administrator
0
09-25-2022, 04:34 PM
#10
Archived author: Naddley • Posted: 2022-09-25T16:34:09.342000+00:00
Original source

"yeah" is a good answer to an "or" question >_>
rektbyfaith
09-25-2022, 04:34 PM #10

Archived author: Naddley • Posted: 2022-09-25T16:34:09.342000+00:00
Original source

"yeah" is a good answer to an "or" question >_>

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