I am trying to make a unit fly via triggers. So in certain regions it flies, and in certain places it doesnt. I have been looking through all the triggers and possible things for almost 2 1/2 hours: nothing. I said in the Terrain part of SENi was going to find a method but so far i have had no luck.
None.
Is there a trigger that edits data values?
None.
Relatively ancient and inactive
I have two suggestions: Play around with the Jump behavior (Reaper). I did, a bit, but not in-depth. Additionally, you can probably do it using the viking-switch ability if properly edited.
None.
1.Actions -> Unit -> Change Unit Height
Unit - Change (Triggering unit) height to (0.0) over (0.0) seconds
It wont actually make the unit an air unit though.
2.Or you can try Actions -> Unit -> Set Property(Select Height)
Unit - Set (Triggering unit) (Height) to (100.0)
Again, This wont make your unit become an air unit.
3.Like Centreri said, Viking-transform would work great
Unit - (Disable) the Ability (ability) for (Triggering unit)
Disable/Enable the transform ability when you want the unit to be able to fly/land, then disable it to remove the option. You could trigger the casting of the ability if you want immediatly after it is enabled, then remove it, so the player would not have any control over it.
None.
Or if you wanted, you could duplicate the unit and make it flying, then replace it when you want it to fly.
None.
Sad story, modifying the height did nothing!...........Btw, the trigger was (Unit-Change (triggering unit) hieght to 100.0 over 6.0 seconds) I tried over '0.0' seconds too. I also tried with and without events.
Changing the height to like 4 will make it hover above the units, the problem with that is it still collides with ground units because it is a ground unit.
Just wondering is anyone else confused about the Event "unit enters/leaves region"? I tried to use it and it just seems like it is modifying the region, not actually acknowledging the fact a certain unit entered it.
I'm using it in my map, it works fine. If you want, start a new topic asking about it and we can for sure help you.
None.
I have been looking into it, and so far I haven't found a way.
I don't think the viking ability would be too hard to enable by trigger, I'll look into it and let you know.
None.
The viking has two morph abilities and two separate units. It seems like each ability just literally morphs the unit into the other one.
Post has been edited 1 time(s), last time on May 18 2010, 6:46 am by devilesk.
None.
The viking has two morph abilities and two separate units. It seems like each ability just literally morphs the unit into the other one.
So he would have to make a second unit like I suggested then.
None.
Relatively ancient and inactive
Devilesk, can you make the Reaper Jump work so that it would be possible to make a unit an air unit when you want it? I had essentially the same problem as OP when it came to making units jump, if you can modify it using your data skills and make it usable, that'd be awesome.
None.
I'm betting (more of a hope then a bet) that they will let you modify all unit data via trigger which would make this a 1 trigger, simple act.
None.