09-05-2025, 08:41 AM
OK I GOT IT TO WORK!
First I tried inserting the scripts one at a time into a new project, but there weren't any errors. All the scripts worked fine, and the lead actor swapper also worked. Huh.
So, I transferred my game's scripts.rxdata into the empty project and removed some of the variables for the peep/steal, weapon-skill, ring menu and other scripts that referred to database items or assets.
The lead actor swapper script still worked. So did the other scripts.
Then I remembered DerVVulfman's comment:
So, I started a new save in my game and...it works.
The lead actor swapper script works without any issue.
My mistake, as that was also the solution to a question I asked about a script last November--the Weapons Skill script by makeamidget--which was also suggested by DerVVulfman.
Big relief that the script does indeed work, but as I pointed out in my previous reply, it doesn't update the caterpillar. The lead actor may swap, but it doesn't push the former lead into the caterpillar (and remove the new lead from the caterpillar)
Is there a workaround to that? I assume both sheol's script and the caterpillar script must be altered.
First I tried inserting the scripts one at a time into a new project, but there weren't any errors. All the scripts worked fine, and the lead actor swapper also worked. Huh.
So, I transferred my game's scripts.rxdata into the empty project and removed some of the variables for the peep/steal, weapon-skill, ring menu and other scripts that referred to database items or assets.
The lead actor swapper script still worked. So did the other scripts.
Then I remembered DerVVulfman's comment:
Quote:For that error message to appear, you are either using a game save that relied upon the Caterpillar script
So, I started a new save in my game and...it works.

My mistake, as that was also the solution to a question I asked about a script last November--the Weapons Skill script by makeamidget--which was also suggested by DerVVulfman.
Big relief that the script does indeed work, but as I pointed out in my previous reply, it doesn't update the caterpillar. The lead actor may swap, but it doesn't push the former lead into the caterpillar (and remove the new lead from the caterpillar)
Is there a workaround to that? I assume both sheol's script and the caterpillar script must be altered.

![[Image: SP1-Writer.png]](https://www.save-point.org/images/userbars/SP1-Writer.png)
![[Image: SP1-PixelArtist.png]](https://www.save-point.org/images/userbars/SP1-PixelArtist.png)