neothereal
Member
Requesting script to delay uncloak after hostiles leave system.
AllModulesCount:Set[${Me.Ship.GetModules[AllModules]}]
i:Set[1]
do
{
if ${AllModules.Get[${i}].SensorRecalibrationTime} > 0
{
AllModules.Get[${i}]:Click
}
}
while ${i:Inc} <= ${AllModulesCount}
i:Set[1]
do
{
if ${Local[${i}].Standing} < 0
{
;insert runaway and cloack/dock function
do
{
wait 5
}
while ${Local[${i}].Standing} < 0 ; or maybe while ${Local[${i}]} != 0
}
}
while ${i:Inc} < 100
wait 50 ; your delay before beginning again
Return
;100 being the constant, or if you find a way to get a number on local pilots