wantonman
2012-05-14 21:55:45
im making a script rpg and im in need of help… im in a problem with this loop…
ill explain it to the best of my knowledge… here it is…
"okay so i have 3 areas to walk around area1 area2 area3… whichever area i move into (lets say area1 is x:=0, area2 is x:=1, area3 is x:=2) i would like to have a message displayed whenever i enter a new area ((writeln('you are now in area 1 2 or 3 ~)))"
the problem is i am having trouble telling simba how to calculate a system that counts and results into a solution… my trouble is that "it counts area1 and area2 but when i move back to area1 from area2 it does not work"…
ill explain it to the best of my knowledge… here it is…
"okay so i have 3 areas to walk around area1 area2 area3… whichever area i move into (lets say area1 is x:=0, area2 is x:=1, area3 is x:=2) i would like to have a message displayed whenever i enter a new area ((writeln('you are now in area 1 2 or 3 ~)))"
the problem is i am having trouble telling simba how to calculate a system that counts and results into a solution… my trouble is that "it counts area1 and area2 but when i move back to area1 from area2 it does not work"…