How do you get line of sight to work? I'm trying to change the colour of a tile when it's in sight, but it seems to randomly change the colour of every single tile (regardless of whether it's in sight or not).
My cap: http://dl.dropbox.com/u/1024727/caps/lineofsight.capalspal2011-08-18 07:00:31
A general word about LOS: The line of sight behavior isn't designed well for use with multiple-instances-objects.
For each loop: The for each object loop shouldn't slow it down noticable, if at all. An action with a multiple-instances-object will loop through the instances anyway. Something like + land: Value 'somevar' Equal to 1 -> land: Set filter to somecolor will execute at the same speed than + For each land ++ land: Value 'somevar' Equal to 1 --> land: Set filter to somecolor