| 04-22-2015, 12:50 PM | #1 |
in one my projects i have a basic unit that transforms between basal golem(when moving) and obelisk(when not moving). i have already figured out how to make it transform from obelisk to basal golem when it moves but the issue is to make it transform into obelisk when it stops. how can i do that? |
| 04-23-2015, 12:33 AM | #2 |
That depends on your definition of "moving". Do you mean when a unit is issued a stop/hold position command and when it reaches its destination from move/attack commands? Or do you simply mean when it is standing still? Also: how are you doing the obelisk to golem transformation? |
| 04-23-2015, 01:38 PM | #3 |
when it is given a move or attack order it changes from obelisk til basal golem. i want it to change back into obelisk when it does nothing. |
| 04-24-2015, 01:07 AM | #4 | |
Quote:
|
| 04-24-2015, 11:54 AM | #5 | |
Quote:
There is also the problem that if a unit is standing still (i.e. after it has finished moving/attack moving to a location, or after a stop (or hold position if it's ranged) order) and it auto-acquires a new target to attack, it will attack the target but it will not fire any order. So your current system will not catch when this happens and wont transform from obelisk to golem. I would do it by running a timer and keeping track of all obelisk/golem's x/y previous position. When the timer runs, check their current x/y. If the unit is a golem and the current x/y is not different from the previous x/y then it has stopped moving so transform it into the obelisk. If the unit is an obelisk and it's current x/y is different from the previous x/y then it has started moving so transform it into the golem. Update the previous x/y to the current x/y. How are you doing the actual transformation, chaos morp or replace unit? |
| 04-30-2015, 12:34 PM | #6 |
i am using chaos as that is smoother. i have been working on a variant of bear form to transform the unit so it just needs to trigger bear form when it stops moving and when starts moving. |
| 05-01-2015, 03:36 AM | #7 |
So which one do you want to use? |
| 05-01-2015, 11:43 AM | #8 |
bear form would be the best for what i want though when i have perfected the system i want to hide it so that it becomes invisible. |
| 05-04-2015, 11:18 AM | #9 |
It was too annoying with Bear Form so I made it using chaos instead. Steps for copying it to your map:
|
| 05-04-2015, 12:35 PM | #10 |
that file would not open in the world editor. there several types of jass: one is typed in without the use of a third party program and therefore legal, others are typed in through the use of a third party program and therefore illegal. what type did you use? please give me what i asked for instead of what you want me to use. |
| 05-04-2015, 09:05 PM | #11 |
That was saved in the vanilla world editor on the latest patch. If you can't open it you must be using a third party editor that can't open normal maps. Since you have now openly admitted you use a third party editor you probably should go into hiding before blizzard sends someone to kill you. |
| 05-04-2015, 09:17 PM | #12 | |
Quote:
You might be in serious danger already. |
| 05-04-2015, 11:46 PM | #13 |
blizzard have said nothing about third party sites or third party code, only third party programs and that i do not use. please stop trolling me. any more trolling from you will be ignored. |
| 05-05-2015, 12:28 AM | #14 | ||
I am being serious. That map was saved with blizzards world editor on the latest patch. You must have done something if you cannot open it. It is exactly what you asked for (well, it uses chaos but that's a better way to do it anyway) and yet you still somehow find a reason to not be able to use it... Please stop trolling me. Quote:
Quote:
Again, please stop trolling me. |
| 05-05-2015, 08:07 AM | #15 |
Isn't this the point where you just make a custom model that has one unit in its stand animation and another in its walk animation? |
