OK, noob questions, but here they go.
1) My character has a gauge of its own that works parallel to the Life/Power gauges. And, in Simul mode, I want it so that, when either team has 2 of this same character, each one has its own of such gauge shown onscreen. While I sort of managed to do this succesfully, it only works correctly in Simul; in Single or Team, MUGEN keeps trying to find the player's partner/P3, causing a debug flood. I can't seem to find a trigger to proper reckon the player's partner existing.
The code I'm currently using is this (it uses explods only, posted on the -2):
[State -2, Grid (P1)]
type = Explod
triggerall = roundstate = [0,2]
trigger1 = teamside = 1
trigger1 = numexplod(26001) = 0
anim = 26001 + (100 * var(52))
ID = 26001
pos = ifelse(teammode = Simul && ID >= partner, ID, 60, 0),220
postype = left
facing = 1
bindtime = -1
removetime = -2
pausemovetime = -1
supermovetime = -1
scale = 1,1
ontop = 1
ownpal = 1
ignorehitpause = 1
persistent = 0
2) I'm trying to implement a Boss Mode to this same character, changing a few Specials/Supers and a few tweaks. While I can (and will for now) use just one var on -2 to select from Normal Mode (0) to Boss Mode (1), my real plan is to make something like: Normal (0)/Player = Boss, CPU = Normal (1)/Player = Normal, CPU = Boss (2)/Boss (3). But I can't imagine triggers to detect if the character is being played by the CPU or not. Any tip on this?
Thanks in advance for the answers.
For the 1st one, unhappily, it didn't solve the debug flood. I tried to make a var (var(53)) that turns 1 when numpartner = 1...
[State -2, var(53)]; (do you have a partner?)
type = Varset
trigger1 = numpartner = 1
var(53) = 1
ignorehitpause = 1
...and then give the explods the following pos:
pos = ifelse(teammode = Simul && var(53) = 1 && ID >= partner, ID, 60, 0),var(56)+220