MZ (RMMZ) Fossil + Cross (Chrono) Engine + Eli Button Common Events

Hello!

I am working with the RMMZ and using the cross engine with the help of FOSSIL. I want to change a few keys for playing with the keyboard and the controller. Here are a handful of screenshots, as pictures speak louder than words:

Both Eli-Plugins are placed on the very bottom (under Chrono Engine):
Bildschirmfoto 2024-07-14 um 14.10.22.png


This is the configuration for the Attack-Button on the keyboard. Pressing this key makes the player attack. I bind it to "R".
Bildschirmfoto 2024-07-14 um 14.10.39.png


This is the common Event. It has no trigger. As of my current understanding of FOSSIL, i need to use "oldCommand" before any script that is used originally for MV since Cross (Chrono) Engine is originally made for RMMV too.
Bildschirmfoto 2024-07-14 um 14.10.08.png


So far so good (At least for me.. xD). There is no error occurring upon starting the project. Unfortunately nothing happens when pressing the button. I wonder if this Plugin is just not compatible with cross engine, or if the script line in the common event is wrong perhaps. If anyone has an idea what the root of this problem might be, it would be very much appreciated!

BTW i was following this Guide: Chrono Engine Advanced Features and Scripts (gamepad, followers, patches)
You shouldn't have to use oldcommand. It should just be the original script call. I'll have to update that guide though because there are other ways to set the keys if that doesn't work.

By the way, are you trying to set it to the keyboard R or the gamepad R?
Yes you are right. It works when using the original script call. Thank you very much!

Right now im setting up the keybinds for the keyboard.

Edit: I have a follow up question. I want the player to actively draw and put away their weapon by pressing a button. How would i best achieve this? I guess is have to aim for the button via script call, right?
You would put conditionals statements in that button to toggle a switch and check if that switch is on or off.

Then you would either force equip or unequip the weapon based on the switch or overwrite the Chrono Engine function that checks if attack is usable to check for that switch.

Come to think of it you could also use the disable attack plugin command

Original thread: https://forums.rpgmakerweb.com/threads/rmmz-fossil-cross-chrono-engine-eli-button-common-events.170283/