Hi everyone,
I am trying to implement an item into my map which would work much like the "Tiny Great Hall" item in WC3. If you are not familiar with it, I mean an item which when clicked allows you to build its corresponding building at a target location. For example, I have created an item and all its components called "Place Tent" and I want you to be able to create an actual Tent structure by clicking on the item in the inventory. I briefly searched the forums and did not come across anything similar to this issue, but I apologize if this has been discussed previously.
Thanks for any help you are able to provide.
Hi everyone, I am trying to implement an item into my map which would work much like the "Tiny Great Hall" item in WC3. If you are not familiar with it, I mean an item which when clicked allows you to build its corresponding building at a target location. For example, I have created an item and all its components called "Place Tent" and I want you to be able to create an actual Tent structure by clicking on the item in the inventory. I briefly searched the forums and did not come across anything similar to this issue, but I apologize if this has been discussed previously. Thanks for any help you are able to provide.
Use an item of the Target type that just uses a Create Unit effect. Only problem that should have is with the placement model.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Excellent, it works! Thank you! Now, when I place my building how would I make the item used to place it go away?
Charges and the Destroy When Depleted flag under the Items data type?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Ah, now I feel silly. That was almost too easy! I had the charges setup but forgot about the "destroy when depleted" flag, silly me. Thanks again!