eval

  1. Vis_Mage

    RMMV Yanfly Battle AI Core - Help with a Few Checks

    Hello! Would someone be able to help me out with setting up a few conditions using Yanfly's Battle AI Core plugin? The conditions that I am looking to check are: 1. If variable A is equal or greater to variable B 2. Check if target has a certain buff/debuff 3. Check is the target has a skill...
  2. Random Panda

    RMMV Yanfly action sequences Show text

    Hi All, This is sort of a continuation from my last post, as I am dealing with the same basic issue. But I have been trying to find a workaround. I need to show some text during a skill. Using something like: eval: $gameMessage.add('text'); Almost works. It displays the text, but in order for...
  3. RMMV How to eval for gained Exp?

    Hi all, I'm using SumRndmDde's Battle Popup Customizer (http://sumrndm.site/battle-popup-customizer/), as it allows for custom text to appear as a popup over the battler (damage recieved, TP gained, Missed attacks etc). My damage formulas include a small amount of gained Exp (as I want to...
  4. rechronicle

    Help to Modify the Eval Script Code

    Can anyone modify this to get the array index from start to finish, and then back to start again? (ex: 0, 1, 2, 0, 1, 2, 0, 1, etc) Original script: https://forums.rpgmakerweb.com/index.php?threads/show-enemys-next-move.98896/ I already tried to write it out myself, but my intelligence is...
  5. Xyonel

    knowing eval code inside text dialogue through yanfly scripts

    hello, using messagecore, messageevaltext and keynameentry i got this dilemma: in eval text i cannot do new line by enter like bottom example, cause don't work the evaltext syntax. plus, i cannot use apostrophes cause this is a syntax key. plus i cannot use \n for new line. any suggestion...
  6. Eliaquim

    Plugin Parameters: boolean / eval

    Hello people!! :D I 'am thinking if there is another way to set a boolean parameter and not use eval on it. I have this parameter, to that function: @param Cancel Two Fingers @type boolean @on Yes @off No @desc @default true Eli.Param.Utilities = { CancelTwoFingers...
  7. Afaryz

    Enhanced TP - Help getting the eval for Srdudes Menu Status Customizer

    Hey there, I just try to implement with : my current TP Mode from . I need the actual eval for the TP Mode. With: actor._tpMode i can atleast show the number of the actual Tp Mode. Now is the question how I can display the name? If I use actor.tpMode (Yanfly help file suggests...
  8. Drawing an icon with Eval?

    Hello everyone, I'm tweaking the Yanfly's plugin "Main Menu Manager". When assigning the Menu-Command name it says: "Name – This is how the command will appear visually in the main menu. This is an eval, which means, it’s code driven. If you want the command to appear just as it is, use...
  9. RPG_itch_Studio

    Script that makes transparent (or hides) the state icon/overlay

    Is there a script that makes transparent (or hides) the state icon or overlay? I would like to use it in Action Sequence with the "eval" command.
  10. AdamSakuru

    Target Core - Updating Target Array After Death During Random Skill

    In my game I have a skill that hits 3 random enemies. I noticed sometime after making it that if any enemy dies during the first or second hit of the skill, the now non existent enemy still has a chance of being targeted for the following hits. I'm surprised this happens as I think it defeats...
  11. AdamSakuru

    Using a stat In Post Damage Evaluation Math

    <Post-Damage Eval> var bonusStateRate = 0.20 + (user.luk / 300); if (Math.random() < bonusStateRate && target.elementRate(1) > 1) user.addState(7); </Post-Damage Eval> In my project, I'm using this post damage evaluation to award a bonus state if you hit an enemy's weakness and if a random...
  12. Kino

    RPGMakerMV: How To Eval

    Eval is the secret we don't talk about. For RPGMakerMV plugin developers, learning to use eval can change the game. So, let's talk about what it does and how to use it. What Does Eval Do For You Eval allows you to interpret strings as JavaScript. Now, many devs would advise against using it...
  13. Backwardskey

    Forcing critical strikes when an enemy has X State.

    I'm looking to replicate the Topple effect from Xenoblade. A toppled foe takes 25% more damage from critical strikes (which I've managed to replicate using a React Effect via Yanfly's Buffs/States core). Better yet, magical damage will always critically strike against a Toppled foe, further...
  14. Engr. Adiktuzmiko

    Somehow eval() doesn't want to evaluate my string

    so I have a code which looks like this if (item.meta.max) { return eval(item.meta.max); }; With item.meta.max being "$gameVariables(1)" but when the code is called, it returns an error that says object is not a function. the nodekit console points to item.meta.max line during this...
  15. Jonforum

    How to correctly use EVAL function? For passing operators to a function

    hi i have question. Example if i call my function 1:ID 2:operator StatsControl(322,'-=');  // Is do a decrease if i do this StatsControl(322,'+=');  // Is do a increase i read Eval can make me do this easy, I know well the long method, but I would like to find a shortcut to...
  16. styx92

    Need a few eval commands

    Hey guys. I searched, but i dont find a few eval commands, that i need for my project. first: i need a command to check the attack state rate. If the actor have a attack state for 50% bleeding. I only found a command for element rates: actor.elementRate(ID) second: i want to check the...
  17. Rink27

    Check Current Skill Being Used (Help)

    Is there a way to access the current skill that's being used? I'm wondering if there is an eval or JS code to check, but I'm not too familiar with those. I have been trying   if (this.Skill().damage.elementId === physical) Which was an attempt to check the current skill's element...
  18. Quickdraws

    Changing upraded Item Price? Eval

    So been playing around with yanfly's item upgrade slots and I can't figure out how to change the price of upgraded items. Found this message on his site mentioning how a eval can change the price. "2015-10-17 at 8:56 AM Potions and such, by default, do not have upgradeable means...
  19. izyees

    Izy's Eval Condition

    Izy's Eval Condition This script allow javascript as a condition. As the title said, this script will make a condition with a javascript. Meant, it can break the condition limit such as gold value, actor's HP/TP/MP, Actor's equipment, Map ID, Actor's state and more. For more code...
  20. MrPurpleDreadlocks

    Follow Up Skills Eval Assistance

    Hello lovely folks, I ran into a problem. Follow Up Skills: https://github.com/Archeia/YEARepo/blob/master/Gameplay/Follow-Up_Skills.rb I have 3 Skills. A Skill called Fire Jolt, a skill the player users to shoot a jolt of fire at an enemy. A Skill called Master of Fire that makes it when...

Latest Threads

Latest Posts

Latest Profile Posts

Chilling out while toodling around someone's painstaking Minecraft recreation of Disneyland. It is mind-boggling and probably as close as I'll ever be to going.
>Testing with fonts change.
>Tries installing a plugin. Doesn't work.
>Tries changing the plugin commands. Doesn't work.
>Tries installing another plugin. Doesn't work.
>Changes a few more plugin commands. Doesn't work.
>Goes directly to the gamefont file and changes the src. Works.

YYEEEAAAAHHHAAAA

Perseverance is key, bois and girls.
What Reviews say on RPG Maker MZ?
Looking back at some sketches, and game design documents on my PC dated summer of 2015. I started development with the release of MZ, but in 2015, I felt a strong desire to make a game out of the blue. I remember feeling sad for no apparent reason, and all these ideas rushed into my head. Now that I think about it, since that day, everything has become easier to do on my PC . . . it’s very creepy.
Everything's going to be alright! We're all in this together. <3

Forum statistics

Threads
107,806
Messages
1,032,349
Members
139,952
Latest member
4kWave
Top