Posted: Sat Oct 30, 2004 7:00 pm
Hello,
I have some trouble with scripting. My basic aim is to make a unit that is followed by another unit uncontrollable and reverse the process later.
First I apply these three flags to the desired unit:
- Cannot be Autotargeted: true
- Does not Autotarget: true
- Held: true
Then I stop the unit with the General Action Command Type 0.
Later - to reverse the process - I apply all the above flags with the value 'false'.
Now something strange happens: Whenever the unit gets controllable again and I let it move somewhere, it stops after moving a tiny step but the walk animation keeps going on (this looks like the classical 'moonwalk' ).
The Unit has also limited abilities to attack, because no projectile is generated - only the attack animation is drawn.
Anybody has an idea what happened?
Thank you for your help,
Phex.
I have some trouble with scripting. My basic aim is to make a unit that is followed by another unit uncontrollable and reverse the process later.
First I apply these three flags to the desired unit:
- Cannot be Autotargeted: true
- Does not Autotarget: true
- Held: true
Then I stop the unit with the General Action Command Type 0.
Later - to reverse the process - I apply all the above flags with the value 'false'.
Now something strange happens: Whenever the unit gets controllable again and I let it move somewhere, it stops after moving a tiny step but the walk animation keeps going on (this looks like the classical 'moonwalk' ).
The Unit has also limited abilities to attack, because no projectile is generated - only the attack animation is drawn.
Anybody has an idea what happened?
Thank you for your help,
Phex.