Search results

  1. Narch

    On hover over choice - activate switch

    This might be necro, but I had trouble accessing an hovered choice index as specified in the previous posts. This is the code I used to retrieve it inside a game variable, on MZ: SceneManager._scene._choiceListWindow._index
  2. Narch

    JavaScript questions that don't deserve their own thread

    @ATT_Turan Thank you. I'll see what I can make out of it. For the second point, it would be while it's highlighted yes. No idea how I'm going to add that to a class yet though.
  3. Narch

    JavaScript questions that don't deserve their own thread

    Hello, I'm seeking help for 2 things: - Is there a script call allowing to jump on a choice index once a choice window opens? I'm using a choice command inside a loop, so when I confirm a choice, it stays open, but I'd like for the index selection to stay the same (if I press choice 3, I want...
  4. Narch

    JavaScript questions that don't deserve their own thread

    Can you expand more about that label comment? If I follow you correctly, using labels in the code still have the same performance weight because all of the code is still being checked going from A to B, and only serves as a loop going from B to A?
  5. Narch

    JavaScript questions that don't deserve their own thread

    What I'm not exposing in my question is that I wanted to refactor some code where I have a lot of if statements for performances reason. But, I don't want to specifically use case switches or an array lookup for exemple. So I was wondering if I could just isolate the code snippets in conditional...
  6. Narch

    JavaScript questions that don't deserve their own thread

    How are treated if statements and labels in the MZ compiler? Is it skipping a bunch of them directly to the right destination? Or does it still check every line until meeting the right condition.
  7. Narch

    JavaScript questions that don't deserve their own thread

    I have : gameVariables.value(1) gameVariables.value(2) gameVariables.value(3) I want to use a conditional branch to check if 1 = 1 + (2 x 3) What should I put in the event command?
  8. Narch

    JavaScript questions that don't deserve their own thread

    I think it's technically not impossible to modify the editor but it was not what I was thinking about. More about something that would interpret the database prior to its display and/or inject new data before it's displayed in the vanilla menu. It's beyond my level of execution but I was...
  9. Narch

    JavaScript questions that don't deserve their own thread

    I mean, I was not speaking of plugins. But I realise now this whole section of forum is in Javascript/Plugin Support.
  10. Narch

    JavaScript questions that don't deserve their own thread

    Not sure if it's the right thread, but I was wondering how hard would it be to make it so the RMMZ software allows to drag and drop the Common Events in the Databse menu so you are able to reorganize them visually without changing their unique ID. And the same with the Switch/Variables/all...
  11. Narch

    JavaScript questions that don't deserve their own thread

    Could it not work because my variable is detected as an Object rather than an Array?
  12. Narch

    JavaScript questions that don't deserve their own thread

    Hey all. I have this command working when I type it in the MZ console : $gameVariables.value(454).splice(2, 1); But using it in a script event command won't work, any idea why?
  13. Narch

    JavaScript questions that don't deserve their own thread

    Hello. Anybody knows a simple tutorial/lesson to learn the difference between primitives and references variables? I read something explaining objects and references to them, but it's not clicking in my head. If you have maybe tips on what to learn BEFORE objects so I can grasp enough...
  14. Narch

    JavaScript questions that don't deserve their own thread

    @ATT_Turan Thanks that's what I needed. I'm using it in a basic conditional branch to get the value directly from the item database. Edit : @ATT_Turan I think I get what you said now, I can't access it in a script to set a variable to the value of an item TP Gain. I'm using the script in a...
  15. Narch

    JavaScript questions that don't deserve their own thread

    Hello. I'm trying to get the correct script to evaluate the TP gain of an item from the Database. Any help on that? Did not see it in the master script list. Cheers.
  16. Narch

    RMMZ Need help to modify MOG_CharacterMotion (The floating animation speed)

    I'm looking for someone to help me in doing the right modifications to alter the plugin named in the title. This plugin helps to make events animated in a certain way via a comment note. The animation speed cycles looks like they are set when entering the map, or creating an event, and will...
  17. Narch

    Parallel Event running before an Autorun event on a map - ever saw this before?

    I always thought Autorun would launch first and Parallels would not until all Autorun were done, even read posts confirming that, but I guess it was wrong. Wow. So, Autorun will lock the player, but won't stop the parallel processes who launched before then?
  18. Narch

    Parallel Event running before an Autorun event on a map - ever saw this before?

    I have this weird bug as described in the title. It only happens on my biggest map with a lot of events. I don't think I can afford looking from where that bug is coming, but is this a known issue? Is there something known creating that problem?
  19. Narch

    JavaScript questions that don't deserve their own thread

    Hello, I'm trying to set up a conditionnal script that will activate a Switch after several items have been checked from the player inventory. I'm trying to do it all in script to keep clarity as there will be dozen of items to check. Any help with that?

Latest Threads

Latest Profile Posts

oneOfUs.jpg
Streaming more Poppet Quest game even in about 12 minutes.
Some dog owners really impress me. I'm pushing 2-3 metric tons of garbage containers that destroy everything they hit. What do you think is going to happen to your tiny dog when I run it over? And why are you crossing my path to argue with me? Have you never been hit by 200kgs of garbage?

Lesson for you folks. Never mess with an angry garbage container. Or its driver.
I didn't dispose of a file properly and now my whole game won't start: I get a script error in the Scene Manager stage of game launch. What to do? Transfer it all to a new project? That's going to be tedious. Fortunately I am only nine workdays into it.

Forum statistics

Threads
131,680
Messages
1,222,166
Members
173,426
Latest member
sleepykitsune
Top