yo, check this, heres my type:
Type MapHead
Author As String
MapName As String
Players As String
Desc As String
MapSize As Integer
EndType
I then global a variable for it like this:
Global Header As MapHead
and later I use that variable like this:
Header.Author = "Unknown"
Header.MapName = "Untitled"
Header.Players = "Unset"
Header.Desc = "Someone forgot to set the map properties *snigger*"
Header.MapSize = 0
Now, that actually works fine and how it should, thats because its my changed code. Originaly, the type was called MapHeader.. and when i compiled that code it complained it couldnt find Author in type MapHeader! despite the fact it was right there.. and if i commented out the Header.Author = "Unknown" line then it skipped over the MapName assigning line fine and then complained it couldnt find players in type mapheader... the strangest thing is that if i simply rename the type (and dont change any of the other code) to MapHead instead of MapHeader.. it all works fine! is MapHeader reserved? just seems reallllly strange to me o.O