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?
|
Copyright © 2024 BYOND Software.
All rights reserved.
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.