HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger to create Flight?

06-19-2004, 07:37 PM#1
Mymloch
I am trying to simulate an underwater map, so naturally everything would be swimming. The best way to accomplish this is to give every unit the ability to fly. Now, is there a trigger to do this, or do I have to recreate custom versions of every unit that will be on the map?
06-19-2004, 08:15 PM#2
darkdeedsmaster
i think u have to give all the units the ability to fly... dont think there is any easy way... sry...
06-19-2004, 10:59 PM#3
Mymloch
I was afraid of that.

-Sigh-

Thx though, much appreciated.
06-19-2004, 11:08 PM#4
Vexorian
No way to do it without having the units already with that classification.

Shamelessly enough adding the flying classification doesn't work either
06-20-2004, 12:15 AM#5
Mymloch
Quote:
Originally Posted by Lord Vexorian
No way to do it without having the units already with that classification.

Shamelessly enough adding the flying classification doesn't work either

Actually, I just made custom units (identical in every way to the original save for the ability to Fly ("Movement - Fly" in Object Editor)), and it works just fine. I don't understand why I would be shameless in doing so. Playing a map that is supposed to be underwater would not be realistic to the player if the unit (Naga in this case) could not simply "swim" over an obsticle on the map. Don't worry, I am giving ALL units (Player controlled or not) this ability, so it balances out anyway.

Yes, simply classifying them as "Flying" won't work, that will only allow them to be targeted as a flying creature. But changing the movement type to "Fly" does the trick.

But for those that may want to incorporate something like this into their map, there are a few things that should be noted as well:

1) Even if you make custom units with flight, they will be custom units that must be placed when the map is created. To actually allow for the Player to build these new units inside the game, you have to create custom buildings that will produce these custom units. It's not hard, just a bit tedious.

2) Even though your units fly now, their targeting may still be the way it was in the original unit, so be sure to account for that by allowing the unit to target flying creatures and be targeted by them or whatever.
06-21-2004, 11:38 PM#6
Vexorian
I was talking about adding the flying classification with triggers