The Wait cursor only shows when gameplay is blocked. You can, however, change the Main cursor graphic through script. To get an API reference to it (for use in a custom script), right-click the texture field in the Cursor Manager:
No - it's a runtime script and will run itself. Place it either in all scenes that the Loading menu can turn on, or attach it to your PersistentEngine.
Not switching to hardware, all my cursors are in the Cursor manager, and I don't have a cursor image in the Cutscene Cursor.I just want the script to replace the main cursor with my cursor that is icon ID 4 Shen Loading menu is turned on. AC.KickStarter.cursorManager.GetCursorIconFromID (4).texture
Again: What cursor is actually showing? If you have no Cutscene cursor - is the main cursor showing, or is none showing due to a Cutscene running at the time?
HI, the main cursor is showing. and this same cursor is set as my cutscene cursor. The cursor: AC.KickStarter.cursorManager.GetCursorIconFromID (4).texture is listed in my interaction cursors as 'wait'. And this is the cursor I want the main cursor to change to when menu Loading is turned on
Assign a different cursor as your cutscene cursor - we need to be able to tell the difference. Does this different cursor show when the loading menu is turned on?
Place Debug statements in your OnMenuTurnOn and OnMenuTurnOff events - are they kicking in?
However, it won't animate like my other cursors. It is an 8x8 sprite sheet cursor, identical to my other cursor spritesheets, set to texture type cursor. How can I change my script to ensure it animates?
You made no mention of needing to animate the cursor as well. If you need to transfer animation data, you can do that through script at the same time by transferring it's numFrames / numRows variables - and reset the animation with:
Comments
I had a HideCursor script made for me, but am not sure how to change this to change the cursor to this:
AC.KickStarter.cursorManager.GetCursorIconFromID (4).texture
when my menu 'Loading' is on, here is my HideCursor script:
Can you or anyone help?
Thanks!
I have attached it to the Persistent Engine but the cursor is not changing.
See images of Persistent Engine, Loading Menu, Calling Loading Menu and Cursor:
https://www.dropbox.com/sh/t92ytvbb2acnh0t/AAB2fHiRfmgVvaPzluJ6di1Ra?dl=0
Thanks
James
AC.KickStarter.cursorManager.GetCursorIconFromID (4).texture
is listed in my interaction cursors as 'wait'. And this is the cursor I want the main cursor to change to when menu Loading is turned on
AC.KickStarter.cursorManager.pointerIcon.Reset ();
AC.KickStarter.cursorManager.pointerIcon.ClearCache ();
AC.KickStarter.cursorManager.pointerIcon.ClearSprites ();