• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Send Summon

Status
Not open for further replies.
Level 4
Joined
Nov 4, 2013
Messages
33
I want to summon only be summoned once
Then Stock regen set to 200
send summon / per 1 = Stock regen will refresh set to 200
I gave him the maximum limit = 1 send summon
Only one of the players summoned = 200 seconds
Unfortunately, I do not understand trigger, so the request brothers do this for me
Thanksgiving:goblin_yeah:

Figure:
20st7yh.png


This is my created map
http://www.epicwar.com/maps/237026/
 
Last edited:
Level 15
Joined
Oct 18, 2008
Messages
1,591
Hmmm... So let's try to translate it:
Every hero can be only summoned by one player
If someone summons a hero the stock will be replenished in 200 seconds, noone can buy the hero before that
There can be only one of each hero at once in the stock

I hope I got it right.

So practically it's like the unique pick system of DotA-style maps, where you pick a hero, then it gets a countdown of 200 seconds. This is not done by triggers pal, this is done in the unit or item editor.

EDIT: Tho the 1st and 3rd one actually contradict each other, but I can't really figure out anything else.
 
Last edited:
Level 4
Joined
Nov 4, 2013
Messages
33
I mean, it's whether you buy any one hero, stock regen automatically refresh 200 seconds (instead of only a single hero)
What I need is to set trigger = stock regen automatically refresh 200 seconds (including all heroes)
That is just so that they can buy one only ~ 200 seconds after any waiting can buy it
 
I mean, it's whether you buy any one hero, stock regen automatically refresh 200 seconds (instead of only a single hero)
What I need is to set trigger = stock regen automatically refresh 200 seconds (including all heroes)
That is just so that they can buy one only ~ 200 seconds after any waiting can buy it

lol u mean u only want them to buy 1 hero.. in that case just disable training for all the heroes for the player who bought 1 hero..

  • Manual Hero Pick
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • ((Sold unit) is A Hero) Equal to True
    • Actions
      • -------- this will make other players unable to buy the one that has already been sold -------
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Player - Make (unit-type of (Sold unit)) Unavailable for training/construction by (picked player)
      • -------- this will make the player who bought a hero unable to buy other heroes ----------
      • For each (Integer A) from 1 to Hero_Max, do (Actions)
        • Loop - Actions
          • Player - Make (Heroes[(Integer A]) Unavailable for training/construction by (Owner of (Sold unit))
Just make unit type variable array for each heroes then an integer on how many heroes u have.
 
Status
Not open for further replies.
Top