[Trigger] Vaccum Glass Spell

Status
Not open for further replies.
Level 2
Joined
Nov 4, 2009
Messages
18
  • Vaccum Glass
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Vaccum Glass
    • Actions
      • Set Vaccum_Caster = (Triggering unit)
      • Set Vaccum_Level = (Level of Vaccum Glass for Vaccum_Caster)
      • Set Vaccum_Target = (Target unit of ability being cast)
      • Unit - Create 1 Vaccum Glass Dummy for (Owner of Vaccum_Caster) at (Position of Vaccum_Target) facing Default building facing degrees
      • Set Vaccum_Glass[1] = (Last created unit)
      • Unit - Create 1 Vaccum Glass Dummy for (Owner of Vaccum_Caster) at (Position of Vaccum_Target) facing Default building facing degrees
      • Set Vaccum_Glass[2] = (Last created unit)
      • Trigger - Turn on Vaccum Move Damage <gen>
      • Wait 20.00 seconds
      • Trigger - Turn off Vaccum Move Damage <gen>
      • Unit - Remove Vaccum_Glass[1] from the game
      • Unit - Remove Vaccum_Glass[2] from the game
  • Vaccum Move Damage
    • Events
      • Time - Every 0.30 seconds of game time
    • Conditions
    • Actions
      • Unit - Cause Vaccum_Glass[1] to damage Vaccum_Target, dealing (2.00 x (Real(Vaccum_Level))) damage of attack type Spells and damage type Unknown
      • Unit - Cause Vaccum_Glass[2] to damage Vaccum_Target, dealing (2.00 x (Real(Vaccum_Level))) damage of attack type Spells and damage type Unknown
      • Unit - Order Vaccum_Glass[1] to Move To (Position of Vaccum_Target)
      • Unit - Order Vaccum_Glass[2] to Move To (Position of Vaccum_Target)
  • Vaccum Death
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Dying unit) Equal to Vaccum_Target
    • Actions
      • Unit - Remove Vaccum_Glass[1] from the game
      • Unit - Remove Vaccum_Glass[2] from the game
      • Trigger - Turn off Vaccum Move Damage <gen>
I made a spell called Vaccum Glass. It works good, but sometimes the dummy disappears :(. How can i fix it???
 
It's not MUI (multi unit instanceability) so I suspect the error occured when you used it several times within 20 seconds.
 
Well i think the dummy unit has an model that he wan't to move to the location where the unit are to make it looks nice ::thumbs_up:

Maybe...though i doubt it will look nice if 2 units stick with target,try to imagine it,doesn't look good,eh?
Only if dummies would have some special effect like model,but in that case i think it's better to attach special effects
 
Status
Not open for further replies.

Similar threads

Back
Top