Non-threaded

Forums » Advanced Editor Forum » Read Thread

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

I need your help!

10 years ago

In a certain game I'm making, you go about sneaking around a certain enemy, who will be simulated by three variables: Health, Magic, and Awareness.

As you go about attacking the thing multiple times, it'll lose health and magic. If you do things in such a way that the thing runs out of magic, it loses its powers and you capture it. A lack of health will, of course, kill it, and if the awareness reaches 100 or so, the enemy will find out where you are and kill you.

I have some rough idea of how to do this, but I'd like it to be resettable, so you can do it through more than one enemy sequence. Is this possible to do without scripting? Is it worth doing without scripting? If the answer is no to either of those question, then to which extent do I have to enable scripting, (The thing has two settings, I'm quite confuzzled.) and what do I have to do?

Also, what do I have to do to randomize text, so that the attacks aren't the same every time, and how do I make it say different things based on those variables? (Full health: He's looking good and feeling good! Low health: He is mangled and bleeding profusely!)

I need your help!

10 years ago

Possible? Yes. Still, you may want to use scripting.

Basic Scripting = you can change the scripts of individual pages and links.

Advanced Scripting = you can change the scripts of individual pages and links, as well as global link and page scripts.

I need your help!

10 years ago
So far as I'm aware, the two settings don't make a difference. Just put it on advanced.

Is it possible without scripting? Maybe, if you try really, really hard with links I suppose. It's much easier with scripting though.

As to what you have to do... That's up to you man. You should try and work through it yourself. Ask for help when you know what you want to do, just not how to do it.

%%HEALTH%=%1%He's looking good and feeling good!%%%%HEALTH%=%2%He is mangled and bleeding profusely!%%

^That's the basis for how to have the text.

I need your help!

10 years ago

Alright. I'll try playing around with the variables and seeing how I do. As far as the text relating to the variables, how do I make them relate to more than one number? Like, the bottom third of his health would say he's mangled and bleeding profusely, the middle third would say he's quite bruised, and the top third would say he's looking and feeling good?

I need your help!

10 years ago

I need your help!

10 years ago

Mostly, you should just read and understand the scripting and advanced editor articles. It'll give you a good understanding of how to do something, and scripting is not so hard. All of these are easily possible using scripting and variables. If you have a specific problem, then you can ask here.