poof on hero select

Ormagon

New Member
Reaction score
1
:banghead:i am trying to creat a trigger that will kill hero selector wen he selects 1 for an rpg can any1 help??
 

Pharaoh_

The epic journey will soon begin... Prepare!
Reaction score
136
Code:
Events
 A unit sells a unit
Conditions
 (Sold unit) is a Hero Equal to True
Actions
 Unit - Kill <HeroSelector0000>
 

troyboy

New Member
Reaction score
5
Event
unit enters playable map.
Condition
owner of triggering unit equal to (player 1)
Action
Kill *your unit here*

then just make it for all players.
 

Ormagon

New Member
Reaction score
1
ummm

well i was informed there was a way to make unit buying hero explode on buying any1 know how to do that?
 

rDs_RaVeN

New Member
Reaction score
14
If you select hero by entering a circle:
Code:
Select
Events
Unit enters Circle1
Condition
Unit type of entering unit equal to wisp(or your hero selector unit) <---add only if the area that you select hero is in the gameplay area(you can go there later)
Actions
Kill entering unit
If you select from a tavern use Pharaoh's trigger
Code:
Select
Events
 A unit sells a unit
Conditions
 (Sold unit) is a Hero Equal to True
Actions
 Unit - Kill <HeroSelector0000>
If you select by attacking the hero
Code:
Select
Events
Unit is attacked
Condition
Attacked unit equal to (hero)
Actions
Kill attacking unit
Code:
Select Disable
Events
Time elapsed is X(when the fighting starts)
Condition
Actions
Turn off trigger Select

NOTE:Handwritten Triggers
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> make unit buying hero explode

Go back to post #2 and replace "kill" with "explode".
While you're at it, replace that unit reference there with "Buying unit".
 

Ormagon

New Member
Reaction score
1
hmm

and replace the action at #2 with triggering unit?

Code:
xploding hero selector
    Events
        Unit - A unit Sells a unit
    Conditions
        ((Sold unit) is A Hero) Equal to True
    Actions
        Unit - Explode (Triggering unit)


ok so i did that but in stead of selector poofing it was the tavern
also i cant find buy's a unit am i blind or is it nonexistent?
 

Romek

Super Moderator
Reaction score
963
> Ormagon:
Acehart didn't say to change that reference to "Triggering Unit", but "Buying Unit".
The triggering unit is the tavern, which sold the unit.
The buying unit is the unit which bought the hero.

There's no need for a "Buys a Unit" event. "Sells a Unit" works just as well
 

Ormagon

New Member
Reaction score
1
Code:
xploding hero selector
    Events
        Unit - A unit Sells a unit
    Conditions
        ((Sold unit) is A Hero) Equal to True
    Actions
        Unit - Explode (Buying unit)


like this? if so ty for clearing that out
 

Romek

Super Moderator
Reaction score
963
Yes, like that.
Will explode + kill any unit which buys a hero. :)
 

Ormagon

New Member
Reaction score
1
ok well i tried that trigger but now wen 1 select a hero evey'1 selector dies witch well aint very good
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
That three lines trigger can't do that...

Either it looks different from what you posted here, or there's some more triggers running on the same event. From some previous tests maybe?
 

Romek

Super Moderator
Reaction score
963
Works fine for me.
The only reason why you can't see the other 'selectors' on your map, is because they're shades.
They're invisible, and have true sight. When your shade dies, you lose the ability to see the other ones. Simple, really.
 
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