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!
you can do it many ways, could you describe more, when you want to order hero to use item[when he enters region, when he picks item(its used automaticly), when his health is low....]
Edit: i see TwoVenomous already showed few ways...
To answer the question: The script takes an item. If you can use "last created item", you are always able to use any other item you like, no matter what.
The easiest comparison I have in mind is with integers. If I give you the example "Set current gold to 500", you wouldn't ask whether '500' is the only possible integer you can use with that, right?
You're right. After re-reading my comment, it does indeed sound harsh. That wasn't my intention, so I apologize (for the harsh tone, not for the message itself).
It's just that there are plenty of people asking "can I do that?"-questions, which are very easy to answer for yourself within 5 minutes of experimenting.
The reason I get annoyed by that, is because I believe that experimenting is the key to learning: if you only learn what others have taught you, you will never discover anything and you're never able to surpass your teachers.
Again, sorry for the harsh tone, but do try to experiment a little yourself before asking others next time .
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.