Re: Re: Scripting Systems

Brian Hook <[email protected]>
Newsgroups gmane.games.devel.general
Message-ID <200421195547.295842@GATEWAY>
> ie. If you use 'healht' instead of 'health' in your 'weapon_hit'
> function, at runtime you wouldn't know why can't you kill your
> target, but with the newindex metamethod those errors would show up
> as soon as the offending code is executed.

Yes, I agree, and at the very least I should add that.  I'm also going 
to add the "read only" facility that Roberto talks about in his book 
using a similar method.

Brian




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Gamedevlists-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-general
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_idU7
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.