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.
I'm working on my FPS movement scripts, and everything works fine, but I want to prevent my unit from engaging enemies when he nears them. Any help would be appreciated.
0
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] ); }
0
I'm working on my FPS movement scripts, and everything works fine, but I want to prevent my unit from engaging enemies when he nears them. Any help would be appreciated.