Coming soon - Get a detailed view of why an account is flagged as spam!
view details
3
help displaying arrays one at a time.
Post Flair (click to view more posts with a particular flair)
Post Body

Hi.

I'm trying to make a rpg text box using arrays for dialogue,

but i dont know how to display those arrays one at a time.

I made these variables:

event: create

message[1] = "hello!";

message[2] = "how are you doing?";

message[3] = "goodbye!";

message_displayed = message[1];

message_displayed is the message that is shown on screen

event; key press space

message_displayed = message[ 1];

draw_text(100,100,message_displayed);

But for some reason, it doesn't display anything.

(please note i am not that good at coding yet).

Any tips on how to make it work?

Thanks in advance!

Author
Account Strength
100%
Account Age
5 years
Verified Email
Yes
Verified Flair
No
Total Karma
20,028
Link Karma
9,825
Comment Karma
9,647
Profile updated: 4 days ago
Posts updated: 8 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
5 years ago