Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

Slightly confused about $ITEMSTATE

11 years ago

I plan on using multiple itemstate variables in my story, but I have come across a bit of a "snag." I am trying to make an itemstate10 and itemstate11 variable, but they contain one too many characters to be created. Is it possible to make one of these system variables? If there is (which I'm pretty sure there is), could someone please explain how to create it?

Slightly confused about $ITEMSTATE

11 years ago

 . . . ummm . . . good luck with that, I haven't really touched the advanced editor yet . . .

Try messaging BerkaZerka, BZ is the advanced editor veteran that is on a lot.

Slightly confused about $ITEMSTATE

11 years ago

Why not just make those variables into stuff that fit? 

Like itemstateX itemstateZ?

Slightly confused about $ITEMSTATE

11 years ago

Or just IS1, IS2, IS3, ... IS577... ect.

Slightly confused about $ITEMSTATE

11 years ago

Okay thanks, but how is it you can put IS10,11,577,etc. instead of the whole word/s.

Slightly confused about $ITEMSTATE

11 years ago

See Killa's post below.

You cannot rename system variables ( $ ) - you can only choose and name user Variables ( % ).

Slightly confused about $ITEMSTATE

11 years ago

So than according to Killa's post, it's already done for me?

Slightly confused about $ITEMSTATE

11 years ago

Yes. As soon as you created item #10, it made the variable $ITEMSTATE10 for you.

Slightly confused about $ITEMSTATE

11 years ago

$ITEMSTATE10

Is a system variable created when you make your tenth item. It keeps track of the state of item 10 (It equals 1 if they have it, 0 if they don't). I'm lead to believe that's what you're trying to do now?

[It's already created for you is what I'm saying]