Hey guys,
So here is my problem. When I do my code like this...
if game_state$ = "reload_directory"
for i = 0 to directory_counter
current_path$ = current_path$ + directory(i)
next i
set dir home_path$ + current_path$
game_state$ = ""
endif
it tells me that the path could not be found. The debugger also shows the variable "current_path$" to be blank. If I do this though...
if game_state$ = "reload_directory"
for i = 0 to directory_counter
current_path$ = current_path$ + directory(i)
next i
wait 75
set dir home_path$ + current_path$
game_state$ = ""
endif
then it works! What gives? Is it maybe that the command "set dir" is starting before the variable "current_path$" has been filled? Thanks for any help
The fastfood zombie killer