Building a station

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

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!"
Real programmers count from 0. And sometimes I do, too.
Militia Captain
Militia Captain
Posts: 562
Joined: Tue Mar 05, 2013 8:26 am

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