pyroryan
2011-05-04 15:00:31
Switched to using a global var.
Old:
Credits for this update goes to Coh3n.
As a result of adding the ability to not terminate scripts that have color backups when hooks are outdated:
SetupReflectionEx(Update: Boolean) was changed to: SetupReflectionEx(Update, terminate: Boolean).
Script authors will have to choose whether to allow the script to continue running if hooks are outdated. Thats the terminate boolean :).
To maintain old/original behavior: change this in the script (note: update boolean being true is assumed):
SetupReflectionEx(true);
to
SetupReflectionEx(true, true);
Any scripts that depend on this will have to be adjusted accordingly. Thanks :) and sorry for any inconvenience this may have caused.
From: Harry
Set R_UpdateKill in script to kill when updated. A global var is much smarter than changing parms that almost no one would use and that breaks 100% of scripts.
From: Coh3n
Still call SetupReflection or SetupReflectionEx like your do now, just set R_UpdateKill before calling it:
begin
R_UpdateKill := True; // Terminates script if hooks are outdated
SetupReflection;
end.
Old:
As a result of adding the ability to not terminate scripts that have color backups when hooks are outdated:
SetupReflectionEx(Update: Boolean) was changed to: SetupReflectionEx(Update, terminate: Boolean).
Script authors will have to choose whether to allow the script to continue running if hooks are outdated. Thats the terminate boolean :).
To maintain old/original behavior: change this in the script (note: update boolean being true is assumed):
SetupReflectionEx(true);
to
SetupReflectionEx(true, true);
Any scripts that depend on this will have to be adjusted accordingly. Thanks :) and sorry for any inconvenience this may have caused.