Hey I'm pretty new to the editor. I managed to make myself an item, but how do I make one that can place a building like the Tiny Halls/Towers in wc3? It seems items can only use behaviors/effects but Morph - Placement is an ability... What to do?
Is there a way to add the "placement" thingy after you click the item? I see there is an option called "placement" under the Create Unit effect, but it doesnt seem to do anything. Also, any links to good tutorials on the Create Unit effect would be much appreciated as well. I was able to make it place the building but it seems to appear at a random offset and also doesnt go through the birthing animation which I would like it to @@
I'm having similar difficulty trying to do the same thing. Essentially...
Is there a way to make an item that you can click from your inventory to show the building grid and place it to warp in 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.
Did you eventually find out how to do this? any help would be greatly appreciated!
After some playing around I found something that might have potential. If you...
1) Create an item with the TARGET effect. Create charges for it and give it a range.
2) Set the effect of the item to Infested Swarm (Create Egg)
This essentially lets you throw out an egg, which "grows" and becomes a unit. My theory is that you could change the effects and models of the Infested Swarm (Create Egg) to mimic a building construction. Also change the final unit that is spawned to a structure and viola, you have a pseuda item that spits out buildings.
The downside I see so far is you can't get a placement grid.
I am still testing this as we speak but this seems to have some sort of potential.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey I'm pretty new to the editor. I managed to make myself an item, but how do I make one that can place a building like the Tiny Halls/Towers in wc3? It seems items can only use behaviors/effects but Morph - Placement is an ability... What to do?
Bump
Change item type to "Target" and then treat it like an ability (concerning the "effect effect" field).
Morph - Placement abilities don't use any effects though, so I'm not sure what to do
Use the "Create Unit" effect :>
Is there a way to add the "placement" thingy after you click the item? I see there is an option called "placement" under the Create Unit effect, but it doesnt seem to do anything. Also, any links to good tutorials on the Create Unit effect would be much appreciated as well. I was able to make it place the building but it seems to appear at a random offset and also doesnt go through the birthing animation which I would like it to @@
Bump
@Breathfire: Go
Did you find an answer to this question?
I'm having similar difficulty trying to do the same thing. Essentially...
Is there a way to make an item that you can click from your inventory to show the building grid and place it to warp in 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.
Did you eventually find out how to do this? any help would be greatly appreciated!
To you to see the placement, you need it do set on the actor. Normally its already setted.
@LordSora: Go
After some playing around I found something that might have potential. If you...
1) Create an item with the TARGET effect. Create charges for it and give it a range. 2) Set the effect of the item to Infested Swarm (Create Egg)
This essentially lets you throw out an egg, which "grows" and becomes a unit. My theory is that you could change the effects and models of the Infested Swarm (Create Egg) to mimic a building construction. Also change the final unit that is spawned to a structure and viola, you have a pseuda item that spits out buildings.
The downside I see so far is you can't get a placement grid.
I am still testing this as we speak but this seems to have some sort of potential.