Need help with AOE silence.

Carnerox

The one and only.
Reaction score
84
Trigger:
  • Silence
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to (==) (YourSpell)
    • Actions
      • Set SilenceCaster[(Player number of (Triggering player))] = (Triggering unit)
      • Set SilenceOwner[(Player number of (Triggering player))] = (Owner of SilenceCaster[(Player number of (Triggering player))])
      • Set SilencePoint[(Player number of (Triggering player))] = (Position of SilenceCaster[(Player number of (Triggering player))])
      • Unit - Create 1 (YourDummyUnit) for SilenceOwner[(Player number of (Triggering player))] at SilencePoint[(Player number of (Triggering player))] facing Default building facing (270.0) degrees
      • Set SilenceDummy[(Player number of (Triggering player))] = (Last created unit)
      • Unit - Add a 3.00 second Generic expiration timer to SilenceDummy[(Player number of (Triggering player))]
      • Unit - Add Silence to SilenceDummy[(Player number of (Triggering player))]
      • Unit - Set level of Silence for SilenceDummy[(Player number of (Triggering player))] to (Level of (YourSpell) for SilenceCaster[(Player number of (Triggering player))])
      • Unit - Order SilenceDummy[(Player number of (Triggering player))] to Neutral Dark Ranger - Silence SilencePoint[(Player number of (Triggering player))]
      • Set SilencePoint[(Player number of (Triggering player))] = (Position of SilenceCaster[0])
      • Custom script: call RemoveLocation (udg_SilencePoint[0])
 

jig7c

Stop reading me...-statement
Reaction score
123
this
Trigger:
  • Custom script: call RemoveLocation (udg_SilencePoint[0])

could be
Trigger:
  • Actions
    • Set Index = (Player number of (Triggering player))
    • ----other actions------
    • Custom script: call RemoveLocation (udg_SilencePoint[Index])
 

khll1993

New Member
Reaction score
1
Trigger:
  • Silence
    • Unit - Order SilenceDummy[(Player number of (Triggering player))] to Neutral Dark Ranger - Silence SilencePoint[(Player number of (Triggering player))]

Is there any way to order the dummy unit to use a custom silence spell instead of "Neutral Dark Ranger - Silence"?
 

Shura

New Member
Reaction score
45
As long as your custom Silence is based off of the Silence from the Dark Ranger the dummy unit will still cast your custom one.
 

Ayanami

칼리
Reaction score
288
Why even use arrays? The trigger is instant so there's no point using arrays. It' MUI even without arrays.
 

Bogrim

y hello thar
Reaction score
154
he is trying to make that MUI.. i think
That way of using an array index does nothing but use more memory and work. Don't promote "work-around" methods unless you're sure they're worth the effort.
 

Slapshot136

Divide et impera
Reaction score
471
Is there any way to order the dummy unit to use a custom silence spell instead of "Neutral Dark Ranger - Silence"?

if your spell is based off of silence and the dummy has no other spells based off of silence, it will cast your custom silence (assuming it has the mana/etc.)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top