Building a station

Freeform discussion about anything related to modding Transcendence.
User avatar
Militia Captain
Militia Captain
Posts: 828
Joined: Fri Dec 14, 2007 1:52 am
Location: Orion Arm, Milky Way

Thu Dec 15, 2016 3:55 pm

Another issue I see is that

Code: Select all

plyMessage gPlayer "Not enough items or cash!"
will message the player outside of the dockscreen.

Instead, you should use

Code: Select all

(scrSetDescTranslate gScreen 'languageID)
, and in the same type define a language element as such:

Code: Select all

	<Text id="languageID">
			"Not enough items or cash!"
This will display your message directly inside the dockscreen. Note you can substitute "languageID" with anything you like.
Project Renegade (Beta) : "The Poor Man's Corporate Command!"
"Cowards die many times before their deaths; The valiant never taste of death but once. " -Julius Caesar as written by William Shakespeare, a notorious permadeath player.

Militia Commander
Militia Commander
Posts: 437
Joined: Tue Mar 05, 2013 8:26 am

Thu Dec 15, 2016 9:05 pm

Also, everything inside the outer (block...) should be inside an (if ...). Without that, both the yes and the no result will happen, regardless of whether the condition is met.

Post Reply