Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

How do you print a system message?

A topic by Garry Francis created Sep 13, 2019 Views: 72 Replies: 2
Viewing posts 1 to 3
Submitted

I want to do something like this:

: print "{cannot_carry_any_more}";

where cannot_carry_any_more refers to a system message. I've tried all sorts of combinations of punctuation from the examples of printing string variables in the Adventuron classroom doco, but nothing I try will work. What's the secret?

Host

I knew someone would ask for this, but it's not in there yet !

I'll add a function in for this shortly. It will likely involve an integer, like this : print {(sysmessage(4) /* 4 = cannot carry any more */ )}

Submitted

OMG. Do you reckon you could add a couple more special characters like $, #, & and %? (Just kidding.) In the meantime, I've just used a string, but I've had to use it quite a few times.