quote:
Originally posted by alexp2_ad
code:
var Clicked = function(){
function agent::Click(dwCharID,fwKeys,x,y){
MsgPlus.DisplayToast('Clicked','You clicked Merlin!');
}
}
i saw this and others similar to it when i was researching it, but i don't understand it. i understand your post and how to implement your solution, but i'm wondering if you could expand a bit about how this works? once i've got my head around it, i'll put it all together and post it in "noob-format" for everyone to see lol.
also to clarify: dwCharID is the name of the agent (merlin, peedy, etc)
fwKeys is the state of the shift key (boolean)
X and Y are the coords of the pointer when the event occoured.
this is what i gathered between here and my research. is this correct?