The Mugen Fighters Guild

Help => M.U.G.E.N Development Help => Topic started by: emmc_1247 on February 01, 2021, 04:22:35 PM

Title: Editing P2 variables from P1
Post by: emmc_1247 on February 01, 2021, 04:22:35 PM
Hi! I'm making a full game with MUGEN and haven't been able to figure out what the best way to change player 2's vars from player 1 is. I believe I can read them using enemynear, but editing them seems like a different story. Any help would be greatly appreciated!
Title: Re: Editing P2 variables from P1
Post by: Nep Heart on February 01, 2021, 06:40:18 PM
1. Put P2 into custom state and use varset/varadd within that state.

2. Use the cond exploit, which allows you to set/add variables for P2 using your own states, no cusom state required. https://mugenguild.com/forum/topics/redirects-redirects-and-new-redirects-cond-exploit-185881.0.html