create a new unknown type?

BlitzMax Forums/BlitzMax Programming/create a new unknown type?

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

to go through a list of derived types and see which type the unknown type is?

You already have its type ID right there, so you know what it is. Am I missing something that you think is obvious but isn't?

I still need to modify a field from the unknown type

You can check for and set a field like this.
Local fooble:Foo = New Foo
Local id:TTypeID = TTypeID.ForObject( fooble )
Local someField:TField = id.FindField("someField")

If someField Then
    someField.Set( fooble, "0.25" )
EndIf

Just to make a point, all of this is in the documentation.