Rich
2009-07-05 16:45:13
Well, this is more a "let you know" than a tutorial. It's about a new function in SCAR 3.20, and that is Alert().
Those of you using 3.20 would have noticed this:

As you press PLAY. Well, now you can create your own alert boxes, using Alert. It is used like this:

This function is especially handy for SMART users. If you are on your computer, and want it to alert you when you encounter a random event silently, then you could do:
Of course, it would have to be used only when it finds a random event. This can be implemented by modifying you AntiRandoms.scar. Anyway, this would output:

Hopefully, this "let you know" helped you out. Please post what you think of it, and how it can be improved.
Thanks,
Richard
Those of you using 3.20 would have noticed this:

As you press PLAY. Well, now you can create your own alert boxes, using Alert. It is used like this:
program New;
begin
Alert('Alert()');
end.This would show:
This function is especially handy for SMART users. If you are on your computer, and want it to alert you when you encounter a random event silently, then you could do:
program New;
begin
Alert('RANDOM EVENT!');
end.Of course, it would have to be used only when it finds a random event. This can be implemented by modifying you AntiRandoms.scar. Anyway, this would output:

Hopefully, this "let you know" helped you out. Please post what you think of it, and how it can be improved.
Thanks,
Richard