View Revisions: Issue #376

Summary 0000376: When changing shells, if there is a move command present in the script after changing the shell, the ghost will not appear
Revision 2021-12-01 05:41 by ponapalt
Description When my ghost changes shells, I get the coordinates before the change and move the ghost to the old coordinates after, so that it will appear to stay in place. However, with the latest version of SSP, any time I change the shell the ghost will not appear or play the dialogue in OnShellChanged. I can see the script in the script log, and if I click on a surface in the surfacetest window, the ghost will appear and play the script that should have played.

This is the script I'm using:
Before the change: "\![get,property,OnGetCoords,currentghost.scope(0).rect]"

OnGetCoords
{
    shellcoord[0] = reference0[0]
    shellcoord[1] = reference0[1]
}

After the change: "\0\![move,--X=%(shellcoord[0]),--Y=%(shellcoord[1]),--base=primaryscreen]Dialogue after changing shells."

This bug happens on SSP 2.5.49. I could not replicate it on 2.5.48. Windows 10.
Revision 2021-11-29 19:14 by guest
Description When my ghost changes shells, I get the coordinates before the change and move the ghost to the old coordinates after, so that it will appear to stay in place. However, with the latest version of SSP, any time I change the shell the ghost will not appear or play the dialogue in OnShellChanged. I can see the script in the script log, and if I click on a surface in the surfacetest window, the ghost will appear and play the script that should have played.

This is the script I'm using:
Before the change: "\![get,property,OnGetCoords,currentghost.scope(0).rect]"

OnGetCoords
{
    shellcoord[0] = reference0[0]
    shellcoord[1] = reference0[1]
}

After the change: "\0\![move,--X=%(shellcoord[0]),--Y=%(shellcoord[1]),--base=primaryscreen]Dialogue after changing shells."

This bug happens on SSP 2.5.49. I could not replicate it on 2.5.48. Windows 10.