Reply to Re: my stupid first item, HELP
If you don't have an account, just leave the password field blank.
First of all, change
int &bw = &base_walk
int &ba = &base_attack
int &bi = &base_idle
int &bd = &base_death
into
&bw = sp_base_walk(1, -1);
&ba = sp_base_attack(1, -1);
&bi = sp_base_idle(1, -1);
&bd = sp_base_death(1, -1);
A -1 for a value in these cases means "return value". Also I would int the &bw, &ba, &bi and &bd in the arm proc. If used multiple times, it won't take up variable space...
Then the second if (&form == 0) should be changed into if (&form == 1)
and just before the ending "}" of an if-statement, place "return;" (without quotes).
Also, the last &form = 1 should be changed into &form = 0;
Then, place a semicolon ";" after each non-if-non-void line if there's non already. (Also not after a { or }, but I guess that makes sense...)
int &bw = &base_walk
int &ba = &base_attack
int &bi = &base_idle
int &bd = &base_death
into
&bw = sp_base_walk(1, -1);
&ba = sp_base_attack(1, -1);
&bi = sp_base_idle(1, -1);
&bd = sp_base_death(1, -1);
A -1 for a value in these cases means "return value". Also I would int the &bw, &ba, &bi and &bd in the arm proc. If used multiple times, it won't take up variable space...
Then the second if (&form == 0) should be changed into if (&form == 1)
and just before the ending "}" of an if-statement, place "return;" (without quotes).
Also, the last &form = 1 should be changed into &form = 0;
Then, place a semicolon ";" after each non-if-non-void line if there's non already. (Also not after a { or }, but I guess that makes sense...)