#391

Solved

isInverted doesn't work

Reported by brine on OCTGN · 21/05/2011 04:20:59

Assigned to:
jods
Priority:
Normal
Status:
Solved
Category:
None
Version:
0.9.*
Issue type:
Bug

This was mentioned in the forum thread here

the isInverted code doesn’t work within python like it’s supposed to, which is weird because as was mentioned it’s used internally for the offset function. I’ve tried several different forms of the line (in case it used some non-obvious syntax) but no luck.

Here’s an example function in its simplest form:

def test(group, x = 0, y = 0):
mute()
if Table.isInverted(y):
notify(“inverted”)
else:
notify(“not inverted”)

Using this action in a two-sided table does not show the notify result in the chat log, indicating there’s something wrong with the the “Table.isInverted(y)” line.

Attachments

No attachment has been uploaded, yet.


Loading comments...