Mount an unit onto a tower ?

Status
Not open for further replies.
Level 6
Joined
Jun 19, 2010
Messages
143
Mount an unit onto a tower to turn it into TOWER GUARD! ?

Hi,
A short discription of my question is that how I put an unit onto a tower I have just built. For e.g scout tower, Object editor gives it an ability to mount an unit, and another inactive ability. When the tower get an unit mounted on it, it activate the inactive one.
1. How could I place an unit onto the tower I has just built? Assume that in game I place an ranged-attack unit, the scout tower is likely to a range-attack tower thanks to the range-attack of the unit. Its attack's missile & range change upon an unit the tower is holding, in other words, whenever I change an unit to another one.
2. How does GUI triggers recognize there is an unit on the tower to let the skill active for an use of preventing an attack, (for e.g. a skill would be thunder clap, war stomp,..they are used by user once he is under attack, they costs mana per use, need time to recover mana for next use.)

I am trying to make everything with Load (ability) to mount an unit onto a tower, but I still don't get it.

I am working on the project of making a Warcraft 1.23 map like the game BATTLE REALMS (Liquid Entertainment), Could anyone please help me out of those questions.

If anyone of you has played Battle Realms so you can easily understand my points.
Thanks and regards,
 
Last edited:
1. you have two ways, the first would be easy, just create a specialeffect with the archer model for example and attach it to the tower (could look weird).
The other, better way would be using the normal load ability to check wether a unit is in the tower or not. After that you need to create a new Archer unit and give it "Fly" as movementspeed and set it's heigh to the one of the Tower, so it looks ok. You should make this unit invulnerable until the Tower has some %HP left, or something like that. I think making it invulnerable is better, because it's protected while in the Tower (or above it) and therefor should not be effected/hit by other Unit's Spells. As for the Range and Damage, the created and placed on-top unit will have the attack dmg and range, you should use the normale Scout Tower without any Damage or Attack. But maybe give it some kinda Information with Damage charts?

2. There's some condition that knows when a unit is "loaded" to another one.. So just get that condition and make it work with your triggers. Alternatively you can use some variables, like "InTower" as boolean with true and false (add array for use with more than one unit).

Good luck with your project :)
 
Level 6
Joined
Jun 19, 2010
Messages
143
Can I remain using World Editor for all other triggers and just import those JAZZ triggers in the map you linked me to? If it is possible, please tell me how I can import them into my map. As I know, I should import them at the final stage of my work. Will those JAZZ triggers work without causing problem for my other triggers, bug and delays?

Thank you very much.
 
Status
Not open for further replies.
Top