Laser data script problem
Posted: Sun Sep 06, 2009 9:11 pm
I'm tring to get a laser to send a unique code to another object. Thecode is unique to the laser and the object will change color if that laser is fired on it.
I'm using the fadeDist variable to encode the lasers data but the scripts are not working.
I'm using the fadeDist variable to encode the lasers data but the scripts are not working.
- Code: Select all
(e)=>{e.laser.fadedist == 1001.0 ? {e.geom.color = [1, 1, 1, 1]} }