Redcap's Corner
Well-known member
I need an Item Selection list that shows only certain creature types. I had been using an array, but I need to be able to assign a tag to whichever option the user chooses. I tried using an expression like:
And I got the following error:
So, I tried putting together some "Simple" things with the same names as the types I need, ids like sAberr, sAnimal, etc., and custom tags to help me setyp the Item Selection list. But for some reason I'm getting the same "read-only" error. Are "Simple" things always read-only, even if they're custom things I created? Is there a way to make them not read-only? Is there a different type of thing that would be more appropriate for this?
Thanks!
Code:
(component.BaseType & (Type.tpAberr | Type.tpAnimal | Type.tpDragon | etc., etc.))
And I got the following error:
Code:
Attempt to access pick information or behaviors for read-only thing 'tpAberr'
So, I tried putting together some "Simple" things with the same names as the types I need, ids like sAberr, sAnimal, etc., and custom tags to help me setyp the Item Selection list. But for some reason I'm getting the same "read-only" error. Are "Simple" things always read-only, even if they're custom things I created? Is there a way to make them not read-only? Is there a different type of thing that would be more appropriate for this?
Thanks!