WB3D get file name

Blitz3D Forums/Blitz3D Programming/WB3D get file name

Guy Fawkes(Posted 2008) [#1]
How do you get the file name of a file request?

					ext$ = "*.mid"+Chr$(0)+"*.mid"+Chr$(0)+"*.mp3"+Chr$(0)+"*.mp3"
					WB3D_OpenFileRequest("..", "..", ext$, "")


Thanks again! =)

~DarkShadowWing~


John Blackledge(Posted 2008) [#2]
I've already answered this:
ext$ = "*.bmp;*.jpg;*.png"+Chr(0)+"*.bmp;*.jpg;*.png"+Chr(0)
file$ = WB3D_OpenFileRequest("Load Colour Map","Terrain\",ext$,"")

Time reading the help file will be well spent.


Guy Fawkes(Posted 2008) [#3]
thanks mate =) Sorry, misread a variable. it didnt work b/c of this =)