Moon Wizard
February 22nd, 2009, 10:12
While the host-side onDrop handling for tokens is working great, I still haven't been able to get the client-side onDrop to work consistently. It would be great to have these addressed in the next release.
There are 2 issues that I noted:
* Tokens must be set to client modifiable before it will accept drops from the client. I don't want the clients to be able to move/change the token, only drop rolls on them.
* For some reason, when I compute the token references for the client combat tracker and set an onDrop handler, I am not able to drop on NPC tokens, but only PC tokens. I am using populateFromImageNode to get the tokeninstance for setting the onDrop handler. Perhaps the ability to drop is limited to tokens in the shared folder only?
Thanks,
JPG
There are 2 issues that I noted:
* Tokens must be set to client modifiable before it will accept drops from the client. I don't want the clients to be able to move/change the token, only drop rolls on them.
* For some reason, when I compute the token references for the client combat tracker and set an onDrop handler, I am not able to drop on NPC tokens, but only PC tokens. I am using populateFromImageNode to get the tokeninstance for setting the onDrop handler. Perhaps the ability to drop is limited to tokens in the shared folder only?
Thanks,
JPG