of     1   

JulienDethurens
#52698313Saturday, August 13, 2011 5:09 AM GMT

local self = PluginManager():CreatePlugin() local Mouse = self:GetMouse() Mouse.Move:connect(function() print(Mouse.X) print(Mouse.Y) end) I ran this using execute script. I move the mouse. Nothing appears in the output. Note that there is no error in the output. How am I supposed to get the mouse's position? X_X What I'm really wanting to do is to make a plugin that makes a button appear when the mouse is at a certain position on the screen, but if I can't even get the position of the mouse, I'm gonna have problems.. X_X I want to be able to know the position of the mouse. How am I supposed to do so?
JulienDethurens
#52698365Saturday, August 13, 2011 5:10 AM GMT

Don't tell me I can use a frame or another such way, I know that. I want to use the mouse. I want strictly to know the position of the mouse. Not to use a frame. I want to know the position of the mouse using the mouse itself.
sncplay42
#52698372Saturday, August 13, 2011 5:11 AM GMT

You have to activate it.
JulienDethurens
#52698403Saturday, August 13, 2011 5:12 AM GMT

Ah? *feels stupid*
pwnful
#52698439Saturday, August 13, 2011 5:13 AM GMT

I think you need to make a button for the actual plug-in. BTW, you might wanna try scripting helpers next time. :)
JulienDethurens
#52698533Saturday, August 13, 2011 5:15 AM GMT

Scripting helpers don't even know how to create a plugin... I would have asked them, otherwise. Sncplay answered my question, it's fine.
JulienDethurens
#52699366Saturday, August 13, 2011 5:37 AM GMT

Well, now, it runs the function, but... It thinks my mouse is at coordinates 0, 0 everytime I move it...
Ozzypig
#52700782Saturday, August 13, 2011 6:19 AM GMT

@Julien I'm getting that bug too. It's always at 0, 0 even if you move the mouse or unpause the game. ~Ozzy
JulienDethurens
#52701145Saturday, August 13, 2011 6:29 AM GMT

You too? Yay, that means I'm not doing something wrong. I got so annoyed at this bug that I just decided to use a frame, even though I would really have preferred to use the mouse. It took me a long time to make a simple plugin that does nothing more than showing a button to toggle studio when your cursor is on a certain zone of the screen..
trappingnoobs
#52707957Saturday, August 13, 2011 11:21 AM GMT

I've been on scripting helpers for ages answering all plugin-related questions T.t
RATEXmegaGAMER
#52708732Saturday, August 13, 2011 11:57 AM GMT

Offtopic: @trapping did you fix that encryptor plugin you were making?
trappingnoobs
#52708781Saturday, August 13, 2011 11:59 AM GMT

Yeah
DylanBuildar
#52714960Saturday, August 13, 2011 3:01 PM GMT

Really, I don't care to much for the new Plugins. ..But for CFraming it seems useful.
Oysi
#52716231Saturday, August 13, 2011 3:27 PM GMT

[ Content Deleted ]
trappingnoobs
#52716507Saturday, August 13, 2011 3:32 PM GMT

Oysi have you even err, looked at any other plugins except yours and his? The wiki articles do and the default plugins and my plugins and (I think) Blocco's plugins and pretty much every plugin made so far does.
blocco
#52717417Saturday, August 13, 2011 3:49 PM GMT

I do do that PluginManager's parent is nil so it's a singleton like game trolololol

    of     1