Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   setcursor not working? (https://forums.graalonline.com/forums/showthread.php?t=64751)

Skrobo2 03-15-2006 08:18 AM

setcursor not working?
 
I wanted to hide the cursor and attach an image to the mouses x and y for a custom cursor. When I do "setcursor 1;" in the offline editor, it works fine, and hides the cursor. But, when I try doing it online it doesn't work. So my question is, is the setcursor command not working in v4 or what?

xAndrewx 03-15-2006 10:36 AM

You did add //#CLIENTSIDE to the top...right?

Skrobo2 03-15-2006 08:35 PM

Yes, of course I did.

Rick 03-15-2006 10:24 PM

Err, I thought it was setcursor("filename")? or maybe I am thinking of setcursor2...

In any event, check your console (F2) to see if there are any errors.

napo_p2p 03-15-2006 10:51 PM

I do not think setcursor is working with v4.

It is probably because implementing it for all the different platforms could take some extra work.

Skrobo2 03-15-2006 10:54 PM

On the wiki, it says setcursor(float); for GS2. So, I don't see why it wouldn't be supported in v4. I'll check the console though and see if there are any errors.

Edit:
Checked the console.
Quote:

GraalScript: Function setcursor not found in script of Weapon -cursor

napo_p2p 03-15-2006 11:04 PM

Quote:

Originally Posted by Skrobo2
On the wiki, it says setcursor(float); for GS2. So, I don't see why it wouldn't be supported in v4.

It is probably because the functionality was there in v3 (which also supported GS2).

Also I would maybe try 'setcursor2'. Only because 'setcursor2' is still listed on the Client Script Functions page, while 'setcursor' is not.

And if setcursor2 is giving the same error, then update the wiki ;).

Skrobo2 03-16-2006 12:39 AM

Hmm I tried setcursor2 as well. But, I got nothing with that one either. I tried ti with both a .png and .ico file.

napo_p2p 03-16-2006 12:57 AM

Quote:

Originally Posted by Skrobo2
Hmm I tried setcursor2 as well. But, I got nothing with that one either. I tried ti with both a .png and .ico file.

setcursor2 isn't creating a console error, but it doesn't seem to be doing anything either.

I'm still guessing that functionality for it in v4 does not exist (yet).

Skrobo2 03-16-2006 01:10 AM

1 Attachment(s)
Well I hope Stefan gets it to work or something because I really wanted to use this cursor. I made it to match our gui.

Ajira 03-16-2006 01:58 AM

I was pretty sure Stefan said setcursor has been removed in v4.

Bl0nkt 03-16-2006 02:34 AM

I noticed this a while ago when trying to hide the mouse for a script.

I'd like to see it back. :)

Skrobo2 03-16-2006 08:16 AM

Yeah, it would really finish off Shangri-La's GUI if we could use that cursor I made.

excaliber7388 03-17-2006 12:18 AM

yeah it was removed :frown: I liked it


All times are GMT +2. The time now is 08:43 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.