Summon Ward Spell?

Kyzer

New Member
Reaction score
0
Hey, im looking for a spell like the Summon Ward that the (i believe it is the) Shadow hunter has? I need it so you can pick where you want it to spawn, be a timed unit, and can only have 1 at a time, a mix between SUmmon Misha and the Ward? is there such one? It cant depend on cd because the way the game is set up it will be easy to reset cds.
 

Cheddar

This is the way it was meant to be.
Reaction score
126
Unit begins casting an ability, ability being case equal to Summon Ward Thing, take unit group of all units owned by owner of casting unit matching (matching unit) is a _______ Ward, if it's 1 or more, order casting unit to stop, display message "I'm afraid I can't let you do that, Dave"
 

Naga'sShadow

Ultra Cool Member
Reaction score
49
You could use the shadow hunters spell and add a trigger that killed all other wards of the same type when you cast it. Something like.

Trigger:
  • Events
    • A unit summons a unit.
    • Conditions
    • Summoned unit equal to <your ward>
    • Actions
    • Set <A unit Variable> equal to <your unit>
    • Group-select all units matching
    • Is <your ward type> owned by casting player and is not <the unit variable>
    • Kill selected units.


That's the basic idea anyway.
 

NeuroToxin

New Member
Reaction score
46
Just do,
Trigger:
  • Events
    • A Unit begins the effect of an ability
    • Conditions
    • Ability Being Cast == to Summon Serpant Ward
    • Actions
    • Set temp_unit(Unit Variable) = last summoned unit
    • Unit Group - Pick all units matching (Matching Unit == to Serpent Ward)
      • Loop Actions
    • set Serpent Ward(Unit Group Variable) = picked unit
    • Unit Group - Count number of units in (SerpentWard)
    • if
    • number of units in Serpent Ward <2
    • then
    • remove temp_unit
    • else

I hope you get the basic Idea, of you don't I can do it for you
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
Just do,
Trigger:
  • Events
    • A Unit begins the effect of an ability
    • Conditions
    • Ability Being Cast == to Summon Serpant Ward
    • Actions
    • Set temp_unit(Unit Variable) = last summoned unit
    • Unit Group - Pick all units matching (Matching Unit == to Serpent Ward)
      • Loop Actions
    • set Serpent Ward(Unit Group Variable) = picked unit
    • Unit Group - Count number of units in (SerpentWard)
    • if
    • number of units in Serpent Ward <2
    • then
    • remove temp_unit
    • else

I hope you get the basic Idea, of you don't I can do it for you

i hope this is a joke...

well, the ability has been named yet, serpent ward spawns a single unit at the desired destination. if there is any ability with a limited amount of spawns i dont know but still you can trigger it:

Event
Unit is summoned
Condition
Unit type of summoned unit == MyCustomWard
Actions
unit - kill MyCustomWard
set MyCustomWard = summoned unit

this would be neither MUI nor MPI. making it MPI is easy though:
Event
Unit is summoned
Condition
Unit type of summoned unit == MyCustomWard
Actions
set Temp_Int = Player Number of (Owner of (summoned unit))
unit - kill MyCustomWard[Temp_Int]
set MyCustomWard[Temp_Int] = summoned unit

this is MPI but still not MUI.
to make it MUI you would need hashtables, and since i cannot write the codes of hashtable functions by hand i wont do it now.
 

Kyzer

New Member
Reaction score
0
This is exactly what I was looking for, I should have figured it out myself, and most likely could have, but I just assumed there was a spell for this already. Ah well, thanks :)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top