[DiscordArchive] do you mean a version using ground targeting or using unit data instead of one time accessed positio
[DiscordArchive] do you mean a version using ground targeting or using unit data instead of one time accessed positio
Archived author: Kiffy • Posted: 2023-06-17T17:14:24.836000+00:00
Original source
do you mean a version using ground targeting or using unit data instead of one time accessed position data?
Archived author: Kiffy • Posted: 2023-06-17T17:14:26.593000+00:00
Original source
either way pretty happy with what can apparently be done between spell and gobject just through global maps, though if someone has a more efficient or clean solution then for sure would be interested in hearing it
Archived author: Kiffy • Posted: 2023-06-17T17:18:04.068000+00:00
Original source
pretty iffy about modding core classes, but I guess you could add another member variable to gobjects for arbitrary data in some way, though idk if that would be better or worse
Archived author: Nix • Posted: 2023-06-17T17:19:28.799000+00:00
Original source
Define global
Archived author: Kiffy • Posted: 2023-06-17T17:19:43.270000+00:00
Original source
its just outside the scope of the classes
Archived author: Nix • Posted: 2023-06-17T17:19:57.308000+00:00
Original source
Yeah that is for the lack of a better word, very ghetto
Archived author: Nix • Posted: 2023-06-17T17:20:06.788000+00:00
Original source
But it is good that you've got a working version
Archived author: Nix • Posted: 2023-06-17T17:20:17.156000+00:00
Original source
I would still refer back to my original outline
Archived author: Nix • Posted: 2023-06-17T17:20:30.933000+00:00
Original source
The gossip script of the GameObject could store the position
Archived author: Nix • Posted: 2023-06-17T17:21:30.515000+00:00
Original source
Cast Spell -> SpellScript (Event Cast Finish) -> Spawn Gameobject -> Fetch attached script -> Update Position
Interact with Gameobject -> Select Teleport -> Teleport using the stored position within the script