Page 1 of 1

Event request: on_player_cursor_ghost_changed

Posted: Thu Mar 28, 2019 1:37 am
by shanemadden
on_player_cursor_stack_changed only fires when the player's cursor_stack changes, not when the cursor_ghost changes. Can we get an event for changes to the cursor_ghost as well, maybe on_player_cursor_ghost_changed?

For mods with special handling when the player's holding their item on the cursor, it'd be great to be able to apply the same behavior to the ghost cursor.

Thanks!

Re: Event request: on_player_cursor_ghost_changed

Posted: Thu Mar 28, 2019 10:13 pm
by dewiniaid
Second this.

Re: Event request: on_player_cursor_ghost_changed

Posted: Thu Jul 16, 2020 3:59 am
by kizrak
I would really love to have this too! 🧡

Re: Event request: on_player_cursor_ghost_changed

Posted: Fri Nov 08, 2024 1:42 am
by kizrak
I'm updating one of my mods for SA 2.0 and I was wondering if this maybe got implemented?

Thanks! 🧡

UPDATE:
So it maybe seems like the `on_player_cursor_stack_changed` event also triggers when a the ghost on the cursor changes. Could use better documentation, but works!