ID:2023081
 
(See the best response by Ter13.)
Hello, I'm trying to distinguish types by using src.type = plant/fire/water/psychic and so on with only one option in it at a time. However it says that it's an undefined var. So I figured that I needed to put in a var for that. However it says that type is a built in var. So I decided to go with just having type instead of src.type, which leads to the following actual types to be an invalid variable. I looked around on the forum for this and I see people using src.type just fine. What am I missing?
Best response
type is built-in variable. It stores the prototype path of an object instance.

Press F1 in dream maker. Look up "type" in the reference. It will tell you all about that built in variable.

Just choose a different name for the elemental type variable. "advantage" or "element" would probably do.