- 65
- Posts
- 12
- Years
- Seen Jan 4, 2022
Not sure if this counts as a scripting question but anyways, heres the issue.
I set up a scenario where the player encounters a character that changes forms during there conversation.
I'm using the pbSetSelfSwitch script command to shuffle through his forms during the coversation.
However, when ever I get past the first form the sprite disappears.
is pbSetSelfSwitch not meant for anything beyond selfswitch A? Setting selfswitch A on has never given me difficulty, ever but once I get to B and C it never seems to work.
The image is properly set in each event page, so that's not the issue. I then tried adding a wait after calling the self switch, cuz I've seen that as an issue before, especially with audio sounds too close to an action. But that didn't work.
This is what it looks like essentially
Enemy text: blah blah
PLayer text blah blah
pbSetSelfSwitch(1, "A", true)
[And the form changes with no graphical errors.]
Player text
enemy text
pbSetSelfSwitch(1, "B", true)
[And the enemy sprite vanishes]
Again I did ensure that the images were set properly in each event page, So I'm really stuck as to what's going on.
I set up a scenario where the player encounters a character that changes forms during there conversation.
I'm using the pbSetSelfSwitch script command to shuffle through his forms during the coversation.
However, when ever I get past the first form the sprite disappears.
is pbSetSelfSwitch not meant for anything beyond selfswitch A? Setting selfswitch A on has never given me difficulty, ever but once I get to B and C it never seems to work.
The image is properly set in each event page, so that's not the issue. I then tried adding a wait after calling the self switch, cuz I've seen that as an issue before, especially with audio sounds too close to an action. But that didn't work.
This is what it looks like essentially
Enemy text: blah blah
PLayer text blah blah
pbSetSelfSwitch(1, "A", true)
[And the form changes with no graphical errors.]
Player text
enemy text
pbSetSelfSwitch(1, "B", true)
[And the enemy sprite vanishes]
Again I did ensure that the images were set properly in each event page, So I'm really stuck as to what's going on.