Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] i try to script a spell that create a spiral of flames. the flames has approximately a distance to e

[DiscordArchive] i try to script a spell that create a spiral of flames. the flames has approximately a distance to e

[DiscordArchive] i try to script a spell that create a spiral of flames. the flames has approximately a distance to e

rektbyfaith
Administrator
0
10-05-2021, 02:46 PM
#1
Archived author: Sevi • Posted: 2021-10-05T14:46:31.212000+00:00
Original source

i try to script a spell that create a spiral of flames. the flames has approximately a distance to each other from 2 3 yards.
actually i try it with this: https://paste2.org/ynPMJ5Mh
that works, its create a spiral but every new point has a bigger distance to the further point.
i think that came from 'angle = 0.45 * i' and 'i' is each loop bigger.
a try was that i use a "static" variable for the first part and use angle only for sin/cos. But this break the spiral.
actually i get no further how i should do.
has someone a idea or so what i should to look?
rektbyfaith
10-05-2021, 02:46 PM #1

Archived author: Sevi • Posted: 2021-10-05T14:46:31.212000+00:00
Original source

i try to script a spell that create a spiral of flames. the flames has approximately a distance to each other from 2 3 yards.
actually i try it with this: https://paste2.org/ynPMJ5Mh
that works, its create a spiral but every new point has a bigger distance to the further point.
i think that came from 'angle = 0.45 * i' and 'i' is each loop bigger.
a try was that i use a "static" variable for the first part and use angle only for sin/cos. But this break the spiral.
actually i get no further how i should do.
has someone a idea or so what i should to look?

rektbyfaith
Administrator
0
10-05-2021, 03:03 PM
#2
Archived author: sueastward • Posted: 2021-10-05T15:03:16.723000+00:00
Original source

Maybe just say the spell name, and others will give the implementation method instead of thinking about the details of your implementation.
rektbyfaith
10-05-2021, 03:03 PM #2

Archived author: sueastward • Posted: 2021-10-05T15:03:16.723000+00:00
Original source

Maybe just say the spell name, and others will give the implementation method instead of thinking about the details of your implementation.

rektbyfaith
Administrator
0
10-05-2021, 03:10 PM
#3
Archived author: Sevi • Posted: 2021-10-05T15:10:00.003000+00:00
Original source

https://paste2.org/FesBb9gO
rektbyfaith
10-05-2021, 03:10 PM #3

Archived author: Sevi • Posted: 2021-10-05T15:10:00.003000+00:00
Original source

https://paste2.org/FesBb9gO

rektbyfaith
Administrator
0
10-05-2021, 03:10 PM
#4
Archived author: Sevi • Posted: 2021-10-05T15:10:06.286000+00:00
Original source

that is the complete test from me
rektbyfaith
10-05-2021, 03:10 PM #4

Archived author: Sevi • Posted: 2021-10-05T15:10:06.286000+00:00
Original source

that is the complete test from me

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