Anvart,
friend . . .
buddy . . .
(have i grovelled enough yet?

)
since you seem to have a working knowledge of how the StateMachineClass controllers work, is it possible you could give me a brief outline of the formation structure of these controllers?
For instance, where the entry names and expressions that the entries in the controllers refer to, are located?
I imagine that these entry descriptions/expressions must be set somewhere, so that the controller recognises the entry, such as "State_Damaged70", and the expressions, such as "HullIntegrity" & "TimerElapsed", plus the check types "1000", and the GotoEntry numerical routines.
As if that's not enough to be going on with, would you also happen to know how the red map icon, and the "She's going down" message are generated when a ship is classed as sunk, how the game knows when a ships hitpoints have expired (the hitpoint counter) and where i can find their triggers?
Even if i can get the SMC controller to work with non human controlled ships, i have to be able to initiate expressions and actions that the controller will associate with these triggers before i have any hope of making it work.
Any info would be appreciated