• 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.

How do I delete a hero from a Neutral Camp?

Status
Not open for further replies.
Level 2
Joined
Jun 22, 2004
Messages
12
You kno how like in dota when u pick a hero nobody else can pick that hero, thats what i'm looking for. I don't kno how to do that! Is it a trigger or something? Any feedback wud be nice...
 
Level 5
Joined
Jul 11, 2004
Messages
183
Chopsticks420 said:
You kno how like in dota when u pick a hero nobody else can pick that hero, thats what i'm looking for. I don't kno how to do that! Is it a trigger or something? Any feedback wud be nice...

i never play dota and i hate it,, but i think trigger should help solve this problem,,dont know what kind of map ya makin,, but this may help you a bit, example building1 is where you pick heroes. and peon is the one whom buying heroes, and Mage is hero that you gonna buy.

Event
Building1 sell a unit
Condition
Unit type of buying unit equal to peon
Actions
If all condition all true then do then actions else do else actions
If Condition
Sold unit not equal to mage
Then actions
Do nothing
Else actions
Neutral building - remove mage from building1 or set mage unvailable for training

ya something like that in the else action..look for neutral building in trigger and set it,,cause im not sure if it right,,i cant remember all :)..have fun and makin good map bro.
 
Level 7
Joined
Jul 30, 2004
Messages
451
[DragonSS said:
amurai-X]You can also use the remove region trigger, easier and faster.

i don't think "remove region" comes with vanilla waredit, besides, its even faster to just 'turn off trigger' then to remove the region

i'd say boolean checking is the most comprehensive way though


as for the question, just make a trigger that removes the unit from selling/training (ii forrget the exact trigger, i'm on vacation and don't have the editor with me) that fires when a unit of that type is trained by the player
 
Status
Not open for further replies.
Top