I thought I would get fancy. I told my engine to make a file and record the number of my current X,Y,and Z loaction when I pressed the Lshift.
Well it does that.
But I was going to use the info in that file to put my braziers (and later my torches) as types...
You know... read the file and assign the values into type statements.
PROB: I open the file and nothing is in HUMAN!!!
I have tried writebyte and writefloat. All I get is:
" @·D·6C ÍC?ˆËDäYCºì)DH7ÊDݶZCè.DâÊDhB[C.Æ1DÚ.ÊDß4[C¼ƒ5D"
This should be somethig near: 1618 218 731
It doesn't look like that to me. Does the computer see it this way???
-RZ
Oh the code to write the data:
where x#,y# and z# are the current location of the camera/player. and fileout is the writefile name!
Well it does that.
But I was going to use the info in that file to put my braziers (and later my torches) as types...
You know... read the file and assign the values into type statements.
PROB: I open the file and nothing is in HUMAN!!!
I have tried writebyte and writefloat. All I get is:
" @·D·6C ÍC?ˆËDäYCºì)DH7ÊDݶZCè.DâÊDhB[C.Æ1DÚ.ÊDß4[C¼ƒ5D"
This should be somethig near: 1618 218 731
It doesn't look like that to me. Does the computer see it this way???
-RZ
Oh the code to write the data:
If KeyHit(42) = True Then WriteFloat (fileout,x#) WriteFloat (fileout,y#) WriteFloat (fileout,z#) EndIf
where x#,y# and z# are the current location of the camera/player. and fileout is the writefile name!