Thread
:
Jumping Help
View Single Post
Reply
Posted 2006-05-07, 10:04 PM in reply to
frosted_snow
's post
"Jumping Help"
OK,
I have another problem.I am trying this tut. and dont' know howto do this.
<><><>Variable[0002] "Hero Y" Subtract 22
Anybody know howto do this?All I can do is something like
<><><>Variable[0002 Hero Y] -,22 apparently the above is differant cuz the way i tryed doesn't seem to work.What am I doing wrong?Here is the whole code:
<>If "Jumping" is ON then
<><>If "Falling" is OFF then
<><><>Variable[0002] "Hero Y" Subtract 22
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Subtract 20
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Subtract 16
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Subtract 12
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Subtract 08
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Subtract 05
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Subtract 02
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Subtract 01
<><><>Wait 0.0
<><><>Wait 0.0
<><><>Wait 0.0
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Add 01
<><><>Call Common Event: [Floor Checker]
<><><>If "Grounded" is ON then
<><><><>Jump to Label 2
<><><><>End
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Add 02
<><><>Call Common Event: [Floor Checker]
<><><>If "Grounded" is ON then
<><><><>Jump to Label 2
<><><><>End
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Add 05
<><><>Call Common Event: [Floor Checker]
<><><>If "Grounded" is ON then
<><><><>Jump to Label 2
<><><><>End
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Add 08
<><><>Call Common Event: [Floor Checker]
<><><>If "Grounded" is ON then
<><><><>Jump to Label 2
<><><><>End
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Add 12
<><><>Call Common Event: [Floor Checker]
<><><>If "Grounded" is ON then
<><><><>Jump to Label 2
<><><><>End
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Add 16
<><><>Call Common Event: [Floor Checker]
<><><>If "Grounded" is ON then
<><><><>Jump to Label 2
<><><><>End
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Add 20
<><><>Call Common Event: [Floor Checker]
<><><>If "Grounded" is ON then
<><><><>Jump to Label 2
<><><><>End
<><><>Wait 0.0
<><><>Label 1
<><><>Variable[0002] "Hero Y" Add 22
<><><>Call Common Event: [Floor Checker]
<><><>If "Grounded" is ON then
<><><><>Jump to Label 2
<><><><>End
<><><>Wait 0.0
<><><>If "Hero Y" is Less than "Floor (Y) then
<><><><>Jump to Label 1
<><><><>End
<><><>End
<><>Else
<><>If Falling is ON then
<><>Jump to Label 1
<><>End
<>Label 2
<>Switch[0004] "Jumping" turn OFF
<>Switch[0006] "Grounded" turn OFF
<>Switch[0005] "Falling" turn OFF
<>End
Profile
PM
WWW
Search
frosted_snow