• 0

    posted a message on Effects from Unit to Point

    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] ); }

    Posted in: Data
  • 0

    posted a message on Is there a way to disable a unit from auto-engaging enemies?

    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.

    Posted in: Galaxy Scripting
  • To post a comment, please or register a new account.