ReadLine

Blitz3D Forums/Blitz3D Programming/ReadLine

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Thanks for the information, jfk.

I have a function named "CreateObject" with a bunch of paremiters following (darn, I can NEVER spell that word). I want my level file to look something like this:

createobject("car", "Bob's Car", 8, 7, 1, 0, 0, 1, 1, "object", 14, 9)
createobject("bob", "Goordinal", 5, 1, 0, 1, 1, 2, 1, "object", 14, 9)
createweapon("weapon1", "shotgun", 4)
createplayer()
initlevel(level)


Which is all Blitz code.

And I initially tried using "Include:"
Function LoadLevel(filepath$)
   Include filepath$
End Function

But it brought up an error that said "Expecting include filename."

How could I fix the include error?