Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Are there any dungeons I can look at where an external spell cast causes a portion of script to trig

[DiscordArchive] Are there any dungeons I can look at where an external spell cast causes a portion of script to trig

[DiscordArchive] Are there any dungeons I can look at where an external spell cast causes a portion of script to trig

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
03-21-2025, 12:47 PM
#1
Archived author: Snowcraft • Posted: 2025-03-21T12:47:57.304000+00:00
Original source

Are there any dungeons I can look at where an external spell cast causes a portion of script to trigger?
rektbyfaith
03-21-2025, 12:47 PM #1

Archived author: Snowcraft • Posted: 2025-03-21T12:47:57.304000+00:00
Original source

Are there any dungeons I can look at where an external spell cast causes a portion of script to trigger?

rektbyfaith
Administrator
0
03-21-2025, 12:48 PM
#2
Archived author: Snowcraft • Posted: 2025-03-21T12:48:23.731000+00:00
Original source

I want to change this to run on a spell cast finishing as a trigger.
[Image: image.png?ex=690bf057&is=690a9ed7&hm=0f4...7333746c5&]
rektbyfaith
03-21-2025, 12:48 PM #2

Archived author: Snowcraft • Posted: 2025-03-21T12:48:23.731000+00:00
Original source

I want to change this to run on a spell cast finishing as a trigger.
[Image: image.png?ex=690bf057&is=690a9ed7&hm=0f4...7333746c5&]

rektbyfaith
Administrator
0
03-21-2025, 01:00 PM
#3
Archived author: Tea • Posted: 2025-03-21T13:00:29.933000+00:00
Original source

it depends on what effects the spell has
rektbyfaith
03-21-2025, 01:00 PM #3

Archived author: Tea • Posted: 2025-03-21T13:00:29.933000+00:00
Original source

it depends on what effects the spell has

rektbyfaith
Administrator
0
03-21-2025, 01:01 PM
#4
Archived author: Tea • Posted: 2025-03-21T13:01:41.743000+00:00
Original source

if it uses SEND_EVENT effect then you can use ProcessEvent in instance script
rektbyfaith
03-21-2025, 01:01 PM #4

Archived author: Tea • Posted: 2025-03-21T13:01:41.743000+00:00
Original source

if it uses SEND_EVENT effect then you can use ProcessEvent in instance script

rektbyfaith
Administrator
0
03-21-2025, 01:02 PM
#5
Archived author: Tea • Posted: 2025-03-21T13:02:20.116000+00:00
Original source

otherwise you need to write a spellscript and put the code in a AfterCast hook
rektbyfaith
03-21-2025, 01:02 PM #5

Archived author: Tea • Posted: 2025-03-21T13:02:20.116000+00:00
Original source

otherwise you need to write a spellscript and put the code in a AfterCast hook

rektbyfaith
Administrator
0
03-21-2025, 01:11 PM
#6
Archived author: Snowcraft • Posted: 2025-03-21T13:11:19.496000+00:00
Original source

Well, I can modify the spell.
rektbyfaith
03-21-2025, 01:11 PM #6

Archived author: Snowcraft • Posted: 2025-03-21T13:11:19.496000+00:00
Original source

Well, I can modify the spell.

rektbyfaith
Administrator
0
03-21-2025, 01:12 PM
#7
Archived author: Snowcraft • Posted: 2025-03-21T13:12:18.004000+00:00
Original source

Is SEND_EVENT different to 'send script event'?
rektbyfaith
03-21-2025, 01:12 PM #7

Archived author: Snowcraft • Posted: 2025-03-21T13:12:18.004000+00:00
Original source

Is SEND_EVENT different to 'send script event'?

rektbyfaith
Administrator
0
03-21-2025, 01:16 PM
#8
Archived author: Snowcraft • Posted: 2025-03-21T13:16:02.755000+00:00
Original source

It is apprently. So it's sending event 8502.
[Image: image.png?ex=690bf6d2&is=690aa552&hm=8a3...3bad8acda&]
rektbyfaith
03-21-2025, 01:16 PM #8

Archived author: Snowcraft • Posted: 2025-03-21T13:16:02.755000+00:00
Original source

It is apprently. So it's sending event 8502.
[Image: image.png?ex=690bf6d2&is=690aa552&hm=8a3...3bad8acda&]

rektbyfaith
Administrator
0
03-21-2025, 01:17 PM
#9
Archived author: Snowcraft • Posted: 2025-03-21T13:17:58.764000+00:00
Original source

So, something like this, with EVENT_AWAKEN_SOULFLAYER being defined as event 8502?
[Image: image.png?ex=690bf746&is=690aa5c6&hm=419...9d6300a47&]
rektbyfaith
03-21-2025, 01:17 PM #9

Archived author: Snowcraft • Posted: 2025-03-21T13:17:58.764000+00:00
Original source

So, something like this, with EVENT_AWAKEN_SOULFLAYER being defined as event 8502?
[Image: image.png?ex=690bf746&is=690aa5c6&hm=419...9d6300a47&]

rektbyfaith
Administrator
0
03-21-2025, 01:19 PM
#10
Archived author: Tea • Posted: 2025-03-21T13:19:44.007000+00:00
Original source

yes
rektbyfaith
03-21-2025, 01:19 PM #10

Archived author: Tea • Posted: 2025-03-21T13:19:44.007000+00:00
Original source

yes

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