Hi, I am working on making a gyro/spiral fire attack ability, and would like some help/advice. Be forewarned, this is a rather complex ability... and I have posted a lot to read here...
Basically, every time the unit attacks, it launches a pair of fire lances/blades and these then orbit around the unit, damaging anything they come in contact with...
But what I most need help with is attaching 2 units to another unit. If you can point me to tutorials about this matter, or give me advice from your own knowledge, I'll be very grateful!
Here is the chain of events/effects I want to see happen in this attack/ability:
_____________
FIRST OF ALL, the unit with Gyro Attack spots an enemy within a range of 10 and immediately attacks (scan-filters determine suitable targets of course).
The unit’s weapon is activated (note that this is an attack-type ability).
The weapon triggers an effect (because I want a lot of effects to be triggered at the same time, I will be using sets)…
The set-effect triggered by the weapon is called ‘Set Master’.
This set triggers another set called ‘Set Sub’ as well as a Create Persistent called ‘Issue Order Initial’.
Set Sub triggers Set Sub A and Set Sub B…
Set Sub A triggers two Create Persistent effects, one offset to the right of the caster, the other to the left.
Set Sub B triggers two Create Persistent effects, one located at offset 3z and the other at 0.5y 3z (edit: you'll notice in the pictures below I accidentally wrote that the offset is 1y)
Set Sub A’s persistents have initial Create Unit effects. The units are called Fire Lances, which have the appearance of long blades of fire.
Set Sub B’s persistents have initial Create Unit effects also. The units are dummies. The one at offset 3z is Dummy 1 and the other is Dummy 2.
Meanwhile, the 'Issue Order Initial' Create Persistent effect has an initial delay of 0.5. It’s initial effect triggers an Issue Order.
The Issue Order effect orders Dummy 1 to turn and move to Dummy 2. This should only appear as if it is ‘rotating’ and not actually ‘moving’…
When Dummy 1 reaches Dummy 2, everything is terminated (except for the caster). In other words, goodbye Fire Lances and Dummies.
_____________
ASSUMING ALL OF THAT WILL WORK, here is what I want help with:
I want both of the Fire Lance units to be ATTACHED to points on Dummy 1 beginning the moment they are all created. The left Fire Lance should be attached to the left of Dummy 1, and vice versa for the right Fire Lance. I am not sure how to do this, but believe attachment actors and site operations may be in order. It is important that they are attached like this every time this ability is activated.
_____________
Here are a couple of images to help illustrate what I am looking for: As you can see, the fire lances begin to spin, turning clockwise around the caster, while Dummy 1 turns toward Dummy 2.
_____________
Would anyone be able to point me in the right direction with this attack-ability? Many thanks (in advance)!
Hi, I am working on making a gyro/spiral fire attack ability, and would like some help/advice. Be forewarned, this is a rather complex ability... and I have posted a lot to read here...
Basically, every time the unit attacks, it launches a pair of fire lances/blades and these then orbit around the unit, damaging anything they come in contact with...
But what I most need help with is attaching 2 units to another unit. If you can point me to tutorials about this matter, or give me advice from your own knowledge, I'll be very grateful!
Here is the chain of events/effects I want to see happen in this attack/ability:
_____________
FIRST OF ALL, the unit with Gyro Attack spots an enemy within a range of 10 and immediately attacks (scan-filters determine suitable targets of course).
The unit’s weapon is activated (note that this is an attack-type ability).
The weapon triggers an effect (because I want a lot of effects to be triggered at the same time, I will be using sets)…
The set-effect triggered by the weapon is called ‘Set Master’.
This set triggers another set called ‘Set Sub’ as well as a Create Persistent called ‘Issue Order Initial’.
Set Sub triggers Set Sub A and Set Sub B…
Set Sub A triggers two Create Persistent effects, one offset to the right of the caster, the other to the left.
Set Sub B triggers two Create Persistent effects, one located at offset 3z and the other at 0.5y 3z (edit: you'll notice in the pictures below I accidentally wrote that the offset is 1y)
Set Sub A’s persistents have initial Create Unit effects. The units are called Fire Lances, which have the appearance of long blades of fire.
Set Sub B’s persistents have initial Create Unit effects also. The units are dummies. The one at offset 3z is Dummy 1 and the other is Dummy 2.
Meanwhile, the 'Issue Order Initial' Create Persistent effect has an initial delay of 0.5. It’s initial effect triggers an Issue Order.
The Issue Order effect orders Dummy 1 to turn and move to Dummy 2. This should only appear as if it is ‘rotating’ and not actually ‘moving’…
When Dummy 1 reaches Dummy 2, everything is terminated (except for the caster). In other words, goodbye Fire Lances and Dummies.
_____________
ASSUMING ALL OF THAT WILL WORK, here is what I want help with: I want both of the Fire Lance units to be ATTACHED to points on Dummy 1 beginning the moment they are all created. The left Fire Lance should be attached to the left of Dummy 1, and vice versa for the right Fire Lance. I am not sure how to do this, but believe attachment actors and site operations may be in order. It is important that they are attached like this every time this ability is activated.
_____________
Here are a couple of images to help illustrate what I am looking for:
As you can see, the fire lances begin to spin, turning clockwise around the caster, while Dummy 1 turns toward Dummy 2.
_____________
Would anyone be able to point me in the right direction with this attack-ability? Many thanks (in advance)!