| 06-02-2005, 08:34 PM | #1 |
Arghhhhhh i need help!! i need to know, how can i do it, so when i use an item from a shop... it then allows you to create a certain unit in the barrakcs Ect. for example... if say i use an item called Train Taurens... when u use this item, it allows you to create taurens at your barracks. tnx in advcne |
| 06-02-2005, 08:51 PM | #2 |
make the item usable (like a potion), create a reaserch named "Train Taurens", and create a trigger: event - a unit uses an item condition - item type of (manipulated item) = (Tauren research item) actions - set research level of (Train Taurens) to 1 for owner of (triggering unit) (i think triggering unit will work) if this works, dont say thank you in a post. say it by doing what my sig says. |
| 06-02-2005, 10:21 PM | #3 |
Hmmm... when i use it, it say's your hero is at full health, and i cnt use it. so is there a way to sort it? |
| 06-02-2005, 10:33 PM | #4 |
dont base it off a healing item, use a different item type, i.e a haste scroll and set the duration to .01. |
| 06-02-2005, 11:16 PM | #5 |
Guest | or you could use a tome that doesn't increase stats because tomes are used as soon as picked up |
| 06-02-2005, 11:28 PM | #6 |
alright tnx alot people i found it out... +reps also... one more question, i have my shop so its a hidden mountain giant, yeah a giant hidden O.o but it is... but the only problem is, it shows up on the map as a small square because of it being a building. how do i take the square off if u can! |
| 06-04-2005, 01:44 AM | #7 |
Guest | somewhere in the object editor, there is a field that says 'Show on mini map' or something like that. make sure it is false. there are two similiar fields, so make them both none cause I don't know which one does it. |
