This may have been asked before but every search I have done has resulted in nothing :(
Is there a way to make an item that you can click from your inventory to place on the ground which will build a building. An example is the mini townhall from wc3 in which you buy a Town hall, select where you wish to place it, and it builds itself into a townhall.
If it is possible can anyone describe how this can be done? Thanks in advance!
I think it's just a matter of creating the unit (the building) using a Create Unit effect, and setting a flag to Under Construction or something similar. You may want to look at how a drone or probe operates as a reference. You can set the usage effects of an item in the data editor and, on a somewhat related note, you may get a much more detailed answer in the Data forum.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
This may have been asked before but every search I have done has resulted in nothing :(
Is there a way to make an item that you can click from your inventory to place on the ground which will build a building. An example is the mini townhall from wc3 in which you buy a Town hall, select where you wish to place it, and it builds itself into a townhall.
If it is possible can anyone describe how this can be done? Thanks in advance!
I think it's just a matter of creating the unit (the building) using a Create Unit effect, and setting a flag to Under Construction or something similar. You may want to look at how a drone or probe operates as a reference. You can set the usage effects of an item in the data editor and, on a somewhat related note, you may get a much more detailed answer in the Data forum.