Trigger Assistance

rDs_RaVeN

New Member
Reaction score
14
i need a trigger that remove all units sold in a tavern
just the action nothing more
+rep for sollution


EDIT: OOPS! im double posted sorry im downloading something and i lag like hell!!!
 

Ghost-X

New Member
Reaction score
5
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)
 

Kiddo

New Member
Reaction score
12
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)

I think that would just make it unavailable for the triggering player .. and I believe it's Sold Item, not Unit. :)

Kiddo.
 

Ghost-X

New Member
Reaction score
5
He said units - tavern so its sold unit.

It makes it unable for construction/trade the buyer will still have the hero.

It works believe me.
 

Kiddo

New Member
Reaction score
12
He said units - tavern so its sold unit.

It makes it unable for construction/trade the buyer will still have the hero.

It works believe me.

Ohh, my bad. I thought I read items ... it's late, I'm tired. My bad. :)

Kiddo.
 

rDs_RaVeN

New Member
Reaction score
14
let me say it clearly
the trigger will be
Code:
Event
Time - Time elapsed is X seconds
Condition
Actions
(Remove ALL units for EVERYONE that tavern sells)
 

TheDarkBoy

New Member
Reaction score
3
I think the easiest way would be to make a trigger that will replace the tavern. Let me freehand it.
Code:
Events
Time elapsed is X
Conditions
Actions
Replace Tavern with (A Tavern that looks like the other tavern, but doesnt sell any units)
I think that should work.
 

Ghost-X

New Member
Reaction score
5
Nah the player group trigger is easier and will couse less lag since u would have to make an other tavern etc.
 

rDs_RaVeN

New Member
Reaction score
14
i need the tavern to revive heros but there is a bug
if a hero die you can recruit new and i dont want that so best sollution is to remove units at tavern sells.
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
Just remove it's ability to sell units, and add the ability to revive heroes. I don't know the rawcodes for them, but it can be done that way...
 

Glaivesrit

New Member
Reaction score
8
my knowledge on this isn't great but couldnt you do this..

Event- ...fnishes an upgade
Condition- Upgrade Equal to (Upgrade named for the hero)
Action- Create one (unit type of (trigger unit)) for (triggering player) at the center of ((LOCATION))


If your hero was named Farseer, you would make a upgrade caled Farseer, and when the person finishes the "upgrade" it creates one of those types of units for the player at a specific spot.


wow, sorry, i'm sick. i had a lapse of what you were actually asking...my bad
 
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