![]() |
The Cursor!
So, I searched around the Wiki about functions and vars that the cursor uses... and... I only found something in GS1 (http://wiki.graal.net/index.php/Crea...ev/Old_GScript, are these the same in GS2? Like does those commands works etc..?
Would love to hear if someone knew if there were some new ones too! Edit: The link only tells about 'setcursor' but I can't get that to work.. Is there any articles about the cursor? Would be nice if there was one.. |
I think it's something used by Stefan when he compiles the game.
I suppose it could be abused ... |
Quote:
...? How can 'setcursor' and such be abused? Well, I heard there was a hideCursor()? Anyone would know if there is? But some cursor functions/vars would be nice.. |
bump?
|
God, I've tried setcursor a million times and I could never get it to work, it made me mad. Perhaps Stefan could enlighten us?
|
setcursor #;
I believe is what you use. 0-20 or something like that. setcursor2 image; I think is how you change it to an image, I'm not sure though. |
Quote:
|
It might have been removed in newer versions(I remember when Graal3/4 or whatever first came out Stefan had a custom cursor for it), so I dunno if they work anymore.
EDIT: setcursor worked for me in the editor, via setcursor #1-25, but setcursor2 works by setcursor2 cursorfile, not image. Such as ones you'll find in your windows cursors directory. Again, not sure if this was removed from newer versions. |
Quote:
|
Even if it was possible to hide the default cursor so we could make our own using a GUI type script would be great.
|
setcursor and one of the numbers hides the cursor.
|
setcursor was usable with Graal v3 but removed in Graal v4 because Stefan either found there not to be enough functionality for it for him to waste time re-adding it to Graal or he just saw it could be abused like someone said.
|
I'm wondering whether you need to use cursoroff() first for it to work, however it might only work in Graal3D or OpenGL mode.
|
Quote:
|
Graal is trying to use the default hardware cursor. The scripted cursor (from v3) was lagging too much. In v2 there were scripting functions for replacing the cursor with another hardware cursor, but it was never really used.
|
| All times are GMT +2. The time now is 06:53 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.