by scar3crow » Tue Apr 15, 2008 12:58 pm
In any state change you could do self.alpha whatever. This could be done by frames (an idle monster phasing in and out using their breathing frames as the instigator of the change, or being ghostly and fading in when attacking or taking damage based on those frames). DPmod has a mode (I think its skill 5 in dmm7 but I'm not for sure) which has such ghostly monsters.
You can set an alpha to any individual entity in a map, so if you want that particular ogre to be harder to spot, give him an alpha field in the editor of 0.6
But a special class of ogre, or all ogres... then yeah, just insert changes via self.alpha into his code.
Granted, I've never done any of this before =)