Hello.
I've a Type called Objects_Type, a list of said Objects called ObjectsList where I've added above objects using ObjectsList.AddLast(obj) (where obj is local Objects_Type).
When I try to access the list using for..eachin everything is fine, eg
However, if I use :
I get the error Cannot convert Object Type to Objects_Type.
Can someone point out where I'm going wrong.
Goodbye.
I've a Type called Objects_Type, a list of said Objects called ObjectsList where I've added above objects using ObjectsList.AddLast(obj) (where obj is local Objects_Type).
When I try to access the list using for..eachin everything is fine, eg
for local obj:Objects_Type = eachin ObjectsList print obj.Id next
However, if I use :
local obj:Objects_Type = ObjectsList.first()
I get the error Cannot convert Object Type to Objects_Type.
Can someone point out where I'm going wrong.
Goodbye.