When I have a "newbie boss" enemy on a screen and use a warp that takes me to the same screen, any enemy that is using the script disappears. This may be exclusive to sideview screens. I'm using 2.55 Alpha 92. Any one know why this is happening?
Problem With Newbie Boss Script
#1
Posted 09 August 2021 - 12:34 AM
#2
Posted 10 August 2021 - 04:11 AM
Does the screen happen to have the Sprites Carry Over In Warps screen flag set? Ghost depends on maintaining a link between the FFC and NPC used for a scripted enemy, and that screen flag only applies to the NPC, so it's incompatible. This is one of the limitations of ghost.zh.
#3
Posted 10 August 2021 - 09:42 AM
Does the screen happen to have the Sprites Carry Over In Warps screen flag set? Ghost depends on maintaining a link between the FFC and NPC used for a scripted enemy, and that screen flag only applies to the NPC, so it's incompatible. This is one of the limitations of ghost.zh.
Oh okay. Yeah, it does have the Sprites Carry Over in Warps flag set. Thanks for informing me.
#4
Posted 10 August 2021 - 09:51 AM
There's a carry-over FFC flag, too. I never tried it with enemies, but it's worth a shot.
After this line:
npc ghost = Ghost_InitAutoGhost(this, enemyid);
Try adding this:
this->Flags[FFCF_CARRYOVER]=true;
And make sure the next screen you go to has the "No FFC Carryover" screen flag set.
#5
Posted 10 August 2021 - 09:23 PM
There's a carry-over FFC flag, too. I never tried it with enemies, but it's worth a shot.
After this line:
npc ghost = Ghost_InitAutoGhost(this, enemyid);Try adding this:
this->Flags[FFCF_CARRYOVER]=true;And make sure the next screen you go to has the "No FFC Carryover" screen flag set.
Yup, that makes it work. Thank you!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users