Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Im not sure I have a OnCasting hook, is there any reason why you would not want to get the targets p

[DiscordArchive] Im not sure I have a OnCasting hook, is there any reason why you would not want to get the targets p

[DiscordArchive] Im not sure I have a OnCasting hook, is there any reason why you would not want to get the targets p

rektbyfaith
Administrator
0
06-15-2023, 11:34 PM
#1
Archived author: Kiffy • Posted: 2023-06-15T23:34:06.467000+00:00
Original source

Im not sure I have a OnCasting hook, is there any reason why you would not want to get the targets position and add the script at the same time OnCast?
rektbyfaith
06-15-2023, 11:34 PM #1

Archived author: Kiffy • Posted: 2023-06-15T23:34:06.467000+00:00
Original source

Im not sure I have a OnCasting hook, is there any reason why you would not want to get the targets position and add the script at the same time OnCast?

rektbyfaith
Administrator
0
06-15-2023, 11:36 PM
#2
Archived author: Kiffy • Posted: 2023-06-15T23:36:10.011000+00:00
Original source

adding a spellscript dynamically to a gameobject within a spellscript is something I didnt know even was possible
an alternative is just spawning a unit with gossiphello for the function and storing the data somewhere in an aura on it and have the function split it up into coords and such, but this is more about me testing not actually needing to have it implemented. still an interesting idea, might try stuff like this odd workaround sometime
rektbyfaith
06-15-2023, 11:36 PM #2

Archived author: Kiffy • Posted: 2023-06-15T23:36:10.011000+00:00
Original source

adding a spellscript dynamically to a gameobject within a spellscript is something I didnt know even was possible
an alternative is just spawning a unit with gossiphello for the function and storing the data somewhere in an aura on it and have the function split it up into coords and such, but this is more about me testing not actually needing to have it implemented. still an interesting idea, might try stuff like this odd workaround sometime

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)