Does that help ?D'Lanor wrote:I have never experimented with setFlags() and sendToClients() because well... their settings are the same in every Python file, just as you are setting them. Plasma.py tells us the following about setFlags():Code: Select all
def setFlags(self, name, sendImmediate, skipOwnershipCheck):
pass
So I guess flag 1 makes sense for those two. setFlags() is always paired with sendToClients() which sends a new value to all players.
Code: Select all
def sendToClients(self,key):
"""Sets it so changes to this key are sent to the
server AND the clients. (Normally it just goes
to the server.)"""
pass
def setFlags(self,name,sendImmediate,skipOwnershipCheck):
"""Sets the flags for a variable in this SDL"""
pass
Actually... no, I couldn't get the value of the mouse being dragged. I could only get notifies of it (mouse clicks are considered as control keys). There might be a way to detect its position, but it seems you can only detect it through GUI draggables (or maybe special clickables)... so that won't be a neat way. I'll check again if there is no better way.tachzusamm wrote:(Sirius, did you really manage to get Mouse drags captured? If yes, how? I was only able to detect key presses.)