Knuckle Cracker

Particle Fleet => Map Makers, Ship Builders, and Coders => Topic started by: Sorrontis on August 07, 2017, 01:46:12 PM

Title: ShowMessage & related
Post by: Sorrontis on August 07, 2017, 01:46:12 PM
Hmm, anyone know how these work? And how they appear in game?

http://knucklecracker.com/wiki/doku.php?id=prpl:showmessage
Title: Re: ShowMessage & related
Post by: Stickman on August 07, 2017, 04:10:00 PM
message x y showmessage

This one is weird, it shows only for one frame, so if you want a continuous message, you must call it every frame. (i.e. don't put it in once-endonce)
x and y are in screen pixels from upper-left corner, special number is -1, which is the center of the screen

Source of information - mission 6 scripts, you get the message shown when you collect one of the amp gems.

Minimal viable script:
"Test" -1 -1 showmessage
Title: Re: ShowMessage & related
Post by: Sorrontis on August 07, 2017, 06:48:13 PM
Ha, that's my problem, I had "X Y Message" ... doh!

Thanks!
Title: Re: ShowMessage & related
Post by: Sorrontis on August 08, 2017, 12:02:04 AM
Note to self, only one message at a time :( sigh.