LSL doesn't have a dedicated bool type but when you use any type with a conditional, it gets implicitly cast to a bool. Having this functionality is nice but it's limitations are annoying.
After giving the problem some thought I came up with this solution: http://jira.secondlife.com/browse/SVC-4068 It's a bool typecast, it might not be the best solution but it should work. I've included both LSO and Mono implementations that *should* work... asuming i haven't forgotten something important. My ability to actually apply my patch and build with it are non-existant at the present.
_______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/SLDev Please read the policies before posting to keep unmoderated posting privileges
