Page 1 of 1

redundant script commands to be removed

Posted: 22 Dec 2012, 01:02
by o11c
Most of these appear in the new Illia quest.

cmdothernpc - just a shortcut for donpcevent, but sometimes used inappropriately where callfunc could be used instead.
getusers() - used buggily, use getmapusers() instead.
getnpctimer() - should be replaced by OnTimer* logic
break - same as end

getopt2 - used incorrectly by the Dark Talisman, which is buggy anyway, so its script should be removed

Besides these, I am removing a number of other script commands that are not used at all, or removing optional arguments that are not used.