Lead Actor Swapper script error
#9
Err, nope, the default Game_System script has never included the @lead_actor variable at all. And it's not supposed to anyway. Happy with a sweat

I tested the script today on a new test project and everything worked fine. I dunno if Dog Wulfo has altered it ever since he backed it up on that subforum, but in its current state it should work off the Bat bat.

Once you moved the script to the bottom but just above Main, it should have worked normally. Confused

The caterpillar script might be a problem indeed IF it never aliased the Game_System's initialize method. But again, that should have stopped causing you all kind of problems once you placed slipknot's script right above Main.

Usually, we scripters don't need to make this request, still, I think we might need to take a look at your blank project's Scripts.rxdata file that includes the actor swapper script. Perhaps you forgot to mention something or you've altered some default or custom script and now it's causing you all these issues now.
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply


Messages In This Thread
Lead Actor Swapper script error - by Ace_V - 08-29-2025, 07:32 AM
RE: Lead Actor Swapper script error - by kyonides - 08-30-2025, 05:01 AM
RE: Lead Actor Swapper script error - by kyonides - 08-30-2025, 10:01 PM
RE: Lead Actor Swapper script error - by Ace_V - 08-31-2025, 07:44 AM
RE: Lead Actor Swapper script error - by kyonides - 08-31-2025, 10:11 AM
RE: Lead Actor Swapper script error - by Ace_V - Yesterday, 09:33 AM
RE: Lead Actor Swapper script error - by kyonides - Yesterday, 10:55 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Actor Voices by diamondandplatinum3, note-tag commands not working! Starmage 1 433 08-04-2025, 09:02 AM
Last Post: Starmage
   Plugin or Script help with Item menu, SKill menu, and Equip menu JayRay 3 2,694 11-22-2024, 07:02 PM
Last Post: JayRay
   Atoa ACBS, Equipment Set Add-on Error Solitaire 10 5,770 10-13-2024, 11:41 PM
Last Post: Solitaire
   Personal graph by actor zlsl 4 7,854 10-23-2021, 06:43 AM
Last Post: zlsl
   Script compatibility help Lord Vectra 3 7,038 07-25-2021, 11:42 PM
Last Post: DerVVulfman
   Adding face script on Cogwheel's RTAB Battle Status rekkatsu 15 22,185 08-25-2020, 03:09 AM
Last Post: DerVVulfman
   "Wait" in the script Whisper 13 21,514 04-28-2020, 04:06 PM
Last Post: Whisper
   Skill Cooldown script Fenriswolf 11 21,439 12-10-2019, 11:10 AM
Last Post: Fenriswolf
   (RMVXace) Battle error with Tankentai's battle system, help. x( Starmage 0 5,026 02-14-2018, 04:25 PM
Last Post: Starmage
   Help iwth script (RGSS Player crash) Whisper 3 10,399 06-17-2017, 05:03 PM
Last Post: Whisper



Users browsing this thread: 1 Guest(s)