- Joined
- Jan 23, 2004
- Messages
- 26
I was wondering if anyone could perhaps assist me in creating a sine curve with domain limits, with the world editor's trigger editor.
The main idea behind this is for a spell (for name's sake) called "Crushing Wave"
i would start it off like so:
Event - Every 1 Second
Conditions - CrushingWave (a boolean variable) is true.
(the variable turns true when the spell is starting to channel, with other neglible conditions)
my problem is creating the actions that would allow me to cast a dummy "Channel" ability (point targeting spell that can target the ground) along the sine curve, within the (X Axis) degree range of -180 to +180 (or -pi to +pi radians) and the Y Range of about 300 Warcraft Units.
Overall, it should come out looking relatively close to this:
where (0,0) is the origin, and the "Channel" ability is casted every 10 Degrees on the X axis from -180 degrees to +180 degrees (around 36 instances of the spell cast, then I believe.)
Any help would be absolutely appreciated =) and thank you so much! If anything is unclear, please do say so and I'll do my best to clear it up.
The main idea behind this is for a spell (for name's sake) called "Crushing Wave"
i would start it off like so:
Event - Every 1 Second
Conditions - CrushingWave (a boolean variable) is true.
(the variable turns true when the spell is starting to channel, with other neglible conditions)
my problem is creating the actions that would allow me to cast a dummy "Channel" ability (point targeting spell that can target the ground) along the sine curve, within the (X Axis) degree range of -180 to +180 (or -pi to +pi radians) and the Y Range of about 300 Warcraft Units.
Overall, it should come out looking relatively close to this:
where (0,0) is the origin, and the "Channel" ability is casted every 10 Degrees on the X axis from -180 degrees to +180 degrees (around 36 instances of the spell cast, then I believe.)
Any help would be absolutely appreciated =) and thank you so much! If anything is unclear, please do say so and I'll do my best to clear it up.