I want to make effects like the stalker attack with this function, or colossus beam (that is the effect for lv_animation==2)
This is my script code I have been working on to create an animation for my shooting system, but I have found many effects only work from caster unit to target unit, some however work from caster unit to the specified point (the first two shown below). Is there a way I can modify the effects in data so they work from unit to point and are visible. Any help would be appreciated, as I haven't dug into the data editor much.
In the effects target field there is an option for "Target Unit", "Target Unit/point" and "Target Point" (And the same exists with Caster, Origin, Source, and the others), just switch it to point.
Now if the actors aren't visible, find the actors and check their attachments/targets (and check the events field as well) and see whether there's anything to do with units
I want to make effects like the stalker attack with this function, or colossus beam (that is the effect for lv_animation==2) This is my script code I have been working on to create an animation for my shooting system, but I have found many effects only work from caster unit to target unit, some however work from caster unit to the specified point (the first two shown below). Is there a way I can modify the effects in data so they work from unit to point and are visible. Any help would be appreciated, as I haven't dug into the data editor much.
lv_animation = libREDX_gv_weapon[lp_player]; if(lv_animation==0) { UnitCreateEffectPoint(libREDX_gv_controlledUnit[lp_player], "C10CanisterRifle", libREDX_gv_targetPoint[lp_player] ); } if(lv_animation==1) { UnitCreateEffectPoint(libREDX_gv_controlledUnit[lp_player], "PsionicShockwaveDamage", libREDX_gv_targetPoint[lp_player] ); } if(lv_animation==2) { UnitCreateEffectPoint(libREDX_gv_controlledUnit[lp_player], "ThermalLancesMU", libREDX_gv_targetPoint[lp_player] ); }
In the effects target field there is an option for "Target Unit", "Target Unit/point" and "Target Point" (And the same exists with Caster, Origin, Source, and the others), just switch it to point.
Now if the actors aren't visible, find the actors and check their attachments/targets (and check the events field as well) and see whether there's anything to do with units
Thanks, that worked like a charm,
now if i wanted to make the animation quicker, would i change the tracking time?