News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

variables

Started by Aadmi, May 04, 2008, 10:41:04 PM

Previous topic - Next topic

Aadmi

okay what if you have many different statedefs with the same 2 varsets whats the worst that could happen will this mess up the game at some point
say i had these same 2 varsets in each statedef more than five. all standard attaks punch and kicks (which i really do)

[State 0, VarSet]
type = VarSet
trigger1 = p2bodydist x > 75
var(1) = 1

[State 0, VarSet]
type = VarSet
trigger1 = p2bodydist x < 75
var(1) = 0

will this cause mugen to become confused because i was testing out the variables and at some times the standing strecth kick for my Dhalsilm
did massive damage and massive groundvelset, and thats where i have all the variables in each statedef so i want ot know if thats the problem along with same variables bein ghte problem too.

if that is the problem then how do i prvent this from happenning? thank

Cybaster

Try putting these varsets in state-2 of your character, and see if it works better (and delete all the varsets you've already wrote for the statedefs).

Aadmi

Quote from: Legen-Wait for it!-dary Cybaster on May 05, 2008, 03:04:42 PM
Try putting these varsets in state-2 of your character, and see if it works better (and delete all the varsets you've already wrote for the statedefs).

how come i never thought of that , im an idiot(not really) altough i alread y got them to work correctly, this sees better and is more organized thanks, defnty going to do this.

Aadmi

#3
i dont rally understAND VARIABLES sometimes it activates and sometimes it doesnt

whan i do the move effected by the variable at the beginning of the match sometimes it works and sometimes not

is there some way to be able to make it active all the time and never stop and randomaize lke this?




more;      i think i fixed it mugen probably couldn't read it, si i moved it to the top of the state -2 and it hasnt disconfigured yet. i gues complex always first lke Cyanide says.