Darwinbots Forum

Code center => Suggestions => Topic started by: spike43884 on December 21, 2014, 06:01:03 AM

Title: .shape Sysvar
Post by: spike43884 on December 21, 2014, 06:01:03 AM
If we want to really use shapes, we need bots to know they aren't bots and aren't veggies...So a .shape sysvar would be brilliant, it returns 1 if a shape is in .focuseye and a 0 otherwise. Simple little sysvar, but it'd be deadly useful...I could finally make them climb AROUND shapes.
Title: Re: .shape Sysvar
Post by: Shadowgod2 on December 21, 2014, 09:19:07 AM
http://wiki.darwinbots.com/w/.reftype

need to do a little more homework
Title: Re: .shape Sysvar
Post by: spike43884 on December 21, 2014, 01:39:02 PM
Ooh, Didn't see that in sysvar list...Weird name, reftype?