Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] How do i make a Creature cast a melee spell on a player who is out of melee range with SAI? (`For Du

[DiscordArchive] How do i make a Creature cast a melee spell on a player who is out of melee range with SAI? (`For Du

[DiscordArchive] How do i make a Creature cast a melee spell on a player who is out of melee range with SAI? (`For Du

rektbyfaith
Administrator
0
09-18-2021, 07:29 AM
#1
Archived author: jbk • Posted: 2021-09-18T07:29:03.778000+00:00
Original source

How do i make a Creature cast a melee spell on a player who is out of melee range with SAI? (`For Dungeon Scripting`)

Seems like there is no action for "run to x player" i found like 2 workarounds from which 1 doesnt even work.

Workaround 1. **(Picture 1)**
Do a follow action and creature moves briefly to target.
Sadly the creature instantly turns back to main target.
Doin smth with the distance,angle or putting in a "no auto attack" -action wont help

Workaround 2. **(Picture 2)**
This one actually works but feels not right, when u just want your creature to normally run towards ur victim.
Here u just use a Gap-Closer Spell before u use your Melee Spell

I guess i will have to learn Lua/C++ Scripting. Does anyone have a Guide-Link or something where i can start to experiment/learn how to script properly?
rektbyfaith
09-18-2021, 07:29 AM #1

Archived author: jbk • Posted: 2021-09-18T07:29:03.778000+00:00
Original source

How do i make a Creature cast a melee spell on a player who is out of melee range with SAI? (`For Dungeon Scripting`)

Seems like there is no action for "run to x player" i found like 2 workarounds from which 1 doesnt even work.

Workaround 1. **(Picture 1)**
Do a follow action and creature moves briefly to target.
Sadly the creature instantly turns back to main target.
Doin smth with the distance,angle or putting in a "no auto attack" -action wont help

Workaround 2. **(Picture 2)**
This one actually works but feels not right, when u just want your creature to normally run towards ur victim.
Here u just use a Gap-Closer Spell before u use your Melee Spell

I guess i will have to learn Lua/C++ Scripting. Does anyone have a Guide-Link or something where i can start to experiment/learn how to script properly?

rektbyfaith
Administrator
0
09-18-2021, 07:31 AM
#2
Archived author: jbk • Posted: 2021-09-18T07:31:10.429000+00:00
Original source


[Image: pick1.png?ex=690c4ebe&is=690afd3e&hm=a78...431ef9fed&]
rektbyfaith
09-18-2021, 07:31 AM #2

Archived author: jbk • Posted: 2021-09-18T07:31:10.429000+00:00
Original source


[Image: pick1.png?ex=690c4ebe&is=690afd3e&hm=a78...431ef9fed&]

rektbyfaith
Administrator
0
09-18-2021, 07:31 AM
#3
Archived author: jbk • Posted: 2021-09-18T07:31:15.933000+00:00
Original source


[Image: pick2.png?ex=690c4ec3&is=690afd43&hm=8ed...a647b9cb4&]
rektbyfaith
09-18-2021, 07:31 AM #3

Archived author: jbk • Posted: 2021-09-18T07:31:15.933000+00:00
Original source


[Image: pick2.png?ex=690c4ec3&is=690afd43&hm=8ed...a647b9cb4&]

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