Thoughts on the Interpreter's Script Command
#8
Zeriab Wrote:I bet you are right about 0 being truthy is hard on poor C and C++ fans Laughing

As long as they don't hate me for telling them the saddening Ruby truth of OOP... Confused

Thinking Yeah, now that I think about what happened with the message window, there might have been a minimal visual glitch that lasted for some split second. I guess in HiddenChest it'd have not taken place for it's able to run on 60 fps as a minimum. Happy with a sweat But I said on my script thread, it might have been caused by taking the RM engine by surprise because it wanted to abruptly end the script execution right after returning the false value.

That last code you've posted here reminds me what I was trying in my first version of the code. Just as it happens in VX ACE, where the result doesn't matter at all because it's not supposed to ever halt the execution, you can't find any conditional statement expecting any event command to return false.

One of the practical reasons those guys have applied there, as far as I can see right now, could have been that by not knowing beforehand what command code the event command would return as its ID, it was preferable to skip the whole "return true or false" enchilada altogether. Rumor You know, I can't blame them for that!

Believe me, I went back to my test project and tested both codes, your latest one and Version 1 of Script Command Bug Fixes and now you can pick any of them and make sure you won't get the nasty message window glitch at all. Happy with a sweat Finally, it was about time.

How ironical it has been to revert back to the original solution. Laughing

Now the big question remains unsolved. Confused
Why did the delevopers ever think the script calls should have been so darn disruptive in RMXP? Incredible 
"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
RE: Script Commands Bug Fixes - by kyonides - 02-13-2025, 08:35 PM
RE: Script Commands Bug Fixes - by Zeriab - 02-26-2025, 07:53 AM
RE: Script Commands Bug Fixes - by kyonides - 02-26-2025, 05:45 PM
RE: Script Commands Bug Fixes - by Zeriab - 02-26-2025, 07:25 PM
RE: Thoughts on the Interpreter's Script Command - by kyonides - Yesterday, 03:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Your thoughts on Action Game Maker? PK8 10 20,279 11-18-2011, 03:58 AM
Last Post: KasperKalamity
   Pause Script Feature Requests? PK8 11 18,633 05-25-2009, 11:07 AM
Last Post: Kain Nobel
   Beyond the script editor line: Is it bad practice? PK8 6 12,479 05-22-2009, 09:27 PM
Last Post: Charlie Fleed



Users browsing this thread: 3 Guest(s)