Multiple clones with illusion.

BuryAutumn

New Member
Reaction score
3
Here's my problem:

I want my ability based off the wand of illusion ability to make more than one clone at a certain level, but i'm not sure how to do that. Is there a "level of ability condition"?

Here's my trigger so far.
Code:
Shadow Clone
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Shadow Clone 
    Actions
        Unit - Create 1 shadowclone dummy unit for (Triggering player) at (Position of (Triggering unit)) facing Default building facing degrees
        Unit - Set level of Shadow Clone dummy  for (Last created unit) to (Level of Shadow Clone  for (Triggering unit))
        Custom script:   call IssueTargetOrderById(bj_lastCreatedUnit, 852274, GetTriggerUnit())
        Wait 1.00 seconds
        Unit - Remove (Last created unit) from the game

Would I have to make it cast the ability twice for two clones, three times for three clones, etc?
 

DL.PIGGY

New Member
Reaction score
3
for each integer from 1 to level of ability loop do your actions. so if it at level 5 it will loop 5 times giving u 5 illusions (that is taking it that u want 1 illusion per level of skill).
Also use unit - add expiration timer (generic) instead of wait 1 second. causes issues if u use the wait 1 second remove unit action
 

BuryAutumn

New Member
Reaction score
3
i don't understand really.

but i don't want each level to add another clone.

like, at level 3 i want two clones.
level 5, three clones.
level 8, four clones.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top