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.
Scripting - making units uncontrollable
What I want to figure it out is how bungie does the following: Make units go blue, Move them to a location, trigger X. Now.. I make em go blue.. stop em.. move em. They dont move. WTF. I know my scripts... this works sometimes, and other tiems it doesnt.. Bungie's script always works.. some of mine works.. some of it doesnt.. it's all the same script design though. Is there some trick to making the MOVE action work to stopped blue units? The problem seems to occur in the following fassion: I have a TUNI with a closed geometry testing for ___ as subj. ACOS--->Stop them and make them blue (2 actions.. the GENE and the CTRL). When the CTRL activates--->Move. They never move... If I've clicked somewhere inside the geometry.. they move to that location.. then sit there blue.. I cant do anything with em. Khel looked at it and didnt know how to fix it.. he said he had a similar problem and just adjusted a flag (did the same to mine with no effect..) Any ideas guys? Iron... got a fix for this one?