Tyman2007
Ya Rly >.
- Reaction score
- 74
I am currently designing a spell which creates a circle of yellow wisps, then makes them circle around for a bit, then each of them move and form a cross around the user. Then they float up and form the same cross but verticle above the caster. Then calls down some neat special effects and converts units to aid the caster for 2 minutes and then die.
What i am trying to figure out is how to make the units circle around the caster.
Since i am still learning JASS i am not yet at the stage to read Spell scripts. So please post the solution using GUI if you will.
-Tyman2007.
New Forum User
Edit: I almost forgot, here is the trigger which initializes this whole process. At the bottom there i tried to make it work but it didnt..
What i am trying to figure out is how to make the units circle around the caster.
Since i am still learning JASS i am not yet at the stage to read Spell scripts. So please post the solution using GUI if you will.
-Tyman2007.
New Forum User
Edit: I almost forgot, here is the trigger which initializes this whole process. At the bottom there i tried to make it work but it didnt..
Code:
Holy Cross Part 1
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Holy Cross
Actions
Set CastUnit = (Triggering unit)
Set Degrees = 0.00
Set integer = 0
Set Offset = 100.00
Set CastPos = (Position of (Triggering unit))
Set SpinDeg = 0.00
For each (Integer A) from 1 to 15, do (Actions)
Loop - Actions
Unit - Create 1 Peasant for (Owner of (Triggering unit)) at (CastPos offset by 500.00 towards Degrees degrees) facing Default building facing degrees
Set HolyBall[(Integer A)] = (Last created unit)
Unit - Add a 15.00 second Generic expiration timer to (Last created unit)
Set Degrees = (Degrees + 24.00)
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Other\Awaken\Awaken.mdl
Special Effect - Destroy (Last created special effect)
Set Degrees = 12.00
For each (Integer A) from 16 to 30, do (Actions)
Loop - Actions
Unit - Create 1 Peasant for (Owner of (Triggering unit)) at (CastPos offset by 500.00 towards Degrees degrees) facing Default building facing degrees
Unit - Add a 10.00 second Generic expiration timer to (Last created unit)
Set HolyBall[(Integer A)] = (Last created unit)
Set Degrees = (Degrees + 24.00)
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Other\Awaken\Awaken.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_CastPos)
For each (Integer A) from 1 to 30, do (Actions)
Loop - Actions
Set SpinReal[(Integer A)] = SpinDeg
Set SpinDeg = (SpinDeg + 12.00)