woo my old code :lol:
btw,about this part:
Quote:
then,add these codes to all units that not stealth but can be stealthed by stealth generator:
Behavior = StealthUpdate ModuleTag_xx
StealthDelay = 999999999;make it stealth again very slowly
StealthForbiddenConditions = FIRING_PRIMARY TAKING_DAMAGE MOVING
FriendlyOpacityMin = 50.0%
FriendlyOpacityMax = 100.0%
InnateStealth = No
OrderIdleEnemiesToAttackMeUponReveal = Yes
MoveThresholdSpeed = 3
End
|
you don't need to do that,just edit the StealthUpdate line in \ini\default\object.ini