Why don't you just try to burrow them inside? ( lik peons go into orc burrows )
Can I order building (or just immovable unit) to move? I was thinking about triggering this ability, but I'm not very good at it, could you show how to do it?When both click merge order them to move to each other.
Yes, you can. Just change the Cargo value of the Cargo ability (you need this for the Burrow ability to work).
Does hiding unit into 'burrow like building' satisfy you? Im not sure, but what excatly you want your spell to do?
Lets say Merging is an ability.
Lets say rifleman should be able to merge with something. Give him this ability.
Now back to trigers:
Lets say your Merge has melee cast range.
- Merge
- Events
- Unit - Unit starts the effect of the ability
- Conditions
- (Ability being cast) Equal to Merge
- Actions
- If - Conditions
- Conditions
- Unit type of ((Target of ability being cast) Equal to Scout Tower)
- Then - Actions
- Set unitTypeVariable = Golem
- Set temp_point = (Position of (Triggering unit)
- Unit - Remove (Triggering unit) from the game
- Unit - Remove (Target of ability being cast) from the game
- Unit - Create 1 unitTypeVariable for Owner of (Triggering unit) at temp_point facing Devault building facing degress
- Custom script: call RemoveLocation (udg_temp_point)
- Else - Actions
Lets aay it can be like this. Lets ask now, does it satisfy you?