Non-threaded

Forums » Advanced Editor Forum » Read Thread

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

How do I reset the Name?

9 years ago

How do I reset the DIGIT 1-8 Variables when making your Name?

How do I reset the Name?

9 years ago

That depends on how you coded the name script, but assuming you're using something similar to what's in BZ's article, you should be able to make a link to the same page you're on, call it 'Reset Name', and then in the link script, put

%DIGIT1 := 0
%DIGIT2 := 0
%DIGIT3 := 0
%DIGIT4 := 0
%DIGIT5 := 0
%DIGIT6 := 0
%DIGIT7 := 0
%DIGIT8 := 0

How do I reset the Name?

9 years ago

Ah, so I implement the code on the RESET NAME link?

How do I reset the Name?

9 years ago

Yep.

How do I reset the Name?

9 years ago

Thanks guys. P.S can somebody test my game to see if the name system works?

How do I reset the Name?

9 years ago
It works, both inputting and resetting. I'm also assuming you're going to hide the links for entering letters 2~6.

How do I reset the Name?

9 years ago

Ah, I will.

How do I reset the Name?

9 years ago
Oh God, that's so much easier than what I had been doing... I had been using the (+) (-) to add, subtract and reset variables. Why the hell didn't I think to just copy a paste a simple code into the link?

Well, I'm off to bang my head against a wall some more.

How do I reset the Name?

9 years ago
Dunno, but scripting makes things way easier, lol.

How do I reset the Name?

9 years ago
Scripting is like calculus - agonizing to learn, but makes problems so much easier once you know how to use it.