| 08-10-2004, 09:50 PM | #1 |
Im trying to find trigger to remove unit being able to be buyed from tavern,if you have played dota then thats excatly how I want it to be. |
| 08-10-2004, 09:54 PM | #2 | |
Quote:
First off you need the building to have the "sell Units" ability Then go to nuetral triggers, near the bottom is the remove unit from marketplace(or is it tavern) anywho, use that trigger to either remove the unit completly or just make it have 0 stock. |
| 08-10-2004, 10:19 PM | #3 |
they have a sell unit trigger.. when unit is brought change unit sold at tavern dota has some wierd thigns id like to see how he madem like the traps =P |
| 08-10-2004, 10:51 PM | #4 | |
Quote:
What traps? the death ward thing? Thats a really simple ability. |
| 08-11-2004, 12:50 AM | #5 |
-Uhm about sell hero i think they use item type power up with none model and use trigger to remove item when hero has create(use unit enter entire map with unit type condition is ok i guess) -Uhm there some spell in Dota i cant see throught it like ''frost bite'' it cause stun+damage per seconds -->there no ability with two effect like that |
| 08-11-2004, 01:27 AM | #6 |
to do that wall you do is make a tavern that sells the heros and a hero selector based off a hero, which has no attack and is invunerable. then you use the trigger EVENT unit - sells a unit CONDITION "selling unit = your tavern" and "buying unit = your hero selector" EVENT Unit Move Instantly - Sold unit To [Your Spawn point] Unit kill - buying unit unit remove - buying unit that all seems to work peachy for me... thats working off the top of my head, but its pretty accurate |
| 08-11-2004, 01:30 AM | #7 |
remote trap |
| 08-11-2004, 03:05 AM | #8 | |
Quote:
You are very wrong about the hero choosing. You have the tavern hold the REAL heros. Give the tavern the "sell units" ability Once a hero enters playable map area move it to the spawn point. Make a trigger. Event Unit Enters Playable Map Area Conditon none Event If/then/else multipul functions If Entering unit equal to (Hero01) Then Move Entering unit to center of (spawn) (kinda forget trigger name) Neutral building - Remove (Hero01) from (tavern) Else Do nothing This works, just make a if then else for all the heros I forget the exact name of the trigger that removes the hero. just look in the neutral building triggers, find the one that removes unit from marketplace. |
| 08-11-2004, 09:24 AM | #9 |
the way i suggested i find is easier to implement and it works across all untis that are sold from that one tavern... its good when you are having an aos style map... with your method, sometime it doesnt work for me... but that me.... that style is best used for maps with the one tavern and you teleport to hero specific locations. |
