Non-threaded

Forums » Advanced Editor Forum » Read Thread

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

Problem with a game

10 years ago

Hey all, it's me again.

So, I released a game recently called "Strategy Simulator" (http://chooseyourstory.com/story/strategy-simulator)

And, if you played it, you will se that when you lose it just says that enemy forces made through your defenses. I want to know if there's a way to make the editor display which flanks failed at the end.

Thanks in advance.

Problem with a game

10 years ago
You can using scripting.

Start here to learn what scripting is:
http://chooseyourstory.com/help/articles/article.aspx?ArticleId=45

What you'll want to do is use page scripting to show what flank lost. I'm not sure how you store which flank lost, but it will be something like:

IF %RIGHTLOST = 1 THEN
BEGIN
$PAGETEXT := $PAGETEXT + "Your right flank lost."
END

But you probably won't understand what that is until you read what I linked you to before.