Breve Screensaver creature code problem
Hello,
When i copy the breve screensaver creature file (creatures.tz) into my demos folder and bring over the classes I get the following error.
Error at line 138 of "creatures.tz":
expected type "list" or "hash" in lookup expression
Looking at the code it show the following, i will highlight line 138 with a *>:
mindist = 10000.
foreach link in all Links: {
if | ( link get-location ) - link{ "_startLocation" } | < mindist:
mindist = | ( link get-location ) - link{ "_startLocation" } |.
*> }
return mindist.
Now if I take out some of the code to leave,
mindist = 10000.
return mindist.
it works, but obviously the min dist doesn't work.
Can anyone help?
»
Submitted by cleverbot on Mon, 2008-12-22 18:04.
- Login to post comments

This creature file works
This creature file works fine with the screensaver exe but not with the breveIDE and i have no idea why.