Posted: Sat Jul 30, 2005 4:16 pm
On the map Im working on. At a point in the game the player loses control of their units and the units have scripted actions. I used the ignore user commands flag (so casualties would still count). The weird thing is.
Edit: Actually it is if I move the unit at any point in the game. If I dont give the unit any commands, and just wait until the time that the player loses control and the scripted actions are supposed to take over. Everything works fine. If at any point before that I move the unit the scripted actions dont work after player loses control. Any ideas why it is like that, and how I can get it to work? I want the script to take over the units movements, but I still want it to count if the unit dies. It works as long as I never move the unit when it is still under players control.
Thanks
Edited By Sam The Butcher on 1122763883
Edit: Actually it is if I move the unit at any point in the game. If I dont give the unit any commands, and just wait until the time that the player loses control and the scripted actions are supposed to take over. Everything works fine. If at any point before that I move the unit the scripted actions dont work after player loses control. Any ideas why it is like that, and how I can get it to work? I want the script to take over the units movements, but I still want it to count if the unit dies. It works as long as I never move the unit when it is still under players control.
Thanks
Edited By Sam The Butcher on 1122763883