I just used a deliver paylaod OCL and stuffed around heaps with the distancetodive thing that the A10 uses and the chinooks locomotor settings.I didnt use any loco switch...I did it on my sisters PC while I was baby sitiing my niece, so I didnt have time to refine it.It was a little buggy due to terrain heights but it generally worked.I havent done much ini coding for a couple of months except for basics of testing models and animations, so my memory isnt too good :|
There is the SET_PANIC locomotor thing, but I dont know how or if it can be manipulated.
THe only thing I can think of is this:
Give the chinook 2 switchable weapon buttons like the ranger and its gun/flashbang.One weapon does not automatically attack, and the other one does.
Have some kind of invisible slaved object with the chinook.When you press the weapon button that automatically attacks, the chinooks attacks the slaved object changing its locomotor.When this object dies, the units are spawned.But then you have the problem of the chopper not going away......
|