Pause Screen and Save Screen not triggering guiChange

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Frame
---- E L I T E ----
---- E L I T E ----
Posts: 1477
Joined: Fri Mar 30, 2007 8:32 am
Location: Witchspace

Pause Screen and Save Screen not triggering guiChange

Post by Frame »

While i cannot log into the bug report. site...

guiChange has stopped somewhere since 1.71, in regard to the save screen...

guiChange do not trigger when entering that, or pause mode.

Cheers Frame
Bounty Scanner
Number 935
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

While in pause mode no js code -or legacy script for that matter- is supposed to do anything, and when resuming from pause mode you're back to whatever screen you were when you pressed 'p'. That's very much working as designed, I believe.

As for save game screens not triggering js events, I'm pretty sure that's intentional too.

On macs the save & load screens are never shown if in windowed mode (the mac's standard save/load window is used instead), so there's no way to guarantee that any event would be triggered when a player selects the 'save game' option...
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
Frame
---- E L I T E ----
---- E L I T E ----
Posts: 1477
Joined: Fri Mar 30, 2007 8:32 am
Location: Witchspace

Post by Frame »

ahh Thanks.

:)

In regard to save screen GuiChange Trigger

I know I used to on 1.71 t as I used it to detect certain changes in the equipment of the player.., back then we did not have the current equipment model..

however, I can work around it...

Cheers Frame..
Bounty Scanner
Number 935
Post Reply