How can I read certain lines from C2's text box?

Discussion and feedback on Construct 2

Post » Wed Feb 15, 2017 4:40 pm

I'm trying to make a coding/hacking game in the stile of TIS-100, but I don't know how to "read" certain lines that the player would type in C2's text box and how to make C2 recognize certain words (like "move" or "rotate") in order to assign them functions.

(Photo from TIS-100)
Image
In each square you can write a couple of commands, and the game executes them from top to bottom, but doesn't go to the next command until the current one has finished.

Any idea on how to do this?
Thanks!
ImageImageImageImage
B
30
S
9
G
7
Posts: 260
Reputation: 5,642

Post » Wed Feb 15, 2017 4:55 pm

Please don't multipost the same question in different sections.
You already posted this question here: https://www.scirra.com/forum/how-can-i-read-certain-lines-of-text-from-the-c2-text-box_t187699 posted 4 hours ago.

You are allowed to bump your own post after a time if no answer has been forthcoming.

Just remember that those who generally help come from many different time zones, so getting a response can take a while sometimes.


locking as duplicate.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
136
S
31
G
86
Posts: 5,483
Reputation: 59,752


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 8 guests