Thursday, August 10, 2006

Don't litter!

SRPG now has triggers, that are local to locations. So far I have only implemented a local trigger in the "drop item"-action. There is a wide field of application for this trigger. It could be used to stop the player from dropping stuff at certain locations, let's say inside a shop or even in a whole town. Or the player could be forced to pay a fine for dropping stuff on the street. Evil, isn't it?

Since DScript's error reporting mechanism is working properly now, I was able to make some improvements to the world script. It is much easier to fix a script, if you get the line number and don't have to search a 20K script file for a faulty line.


Post a Comment

Links to this post:

Create a Link

<< Home