Quantcast
Viewing all articles
Browse latest Browse all 2216

WML Workshop • Re: WFL formula error

"Unexpected unary operator +" means you've got a + sign without two arguments. Like " + 3" instead of "x + 3".

Probably because $fog_range is nil, and maybe $this_item is as well.

I suck at WFL, but don't you have to use $ for variable substitution? Looks to me like you're trying to use WML variables in a WFL.

value = $($this_item.x + $fog_range + 2) # MAYBE???

Statistics: Posted by white_haired_uncle — Yesterday, 7:25 pm



Viewing all articles
Browse latest Browse all 2216