.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Scenarios and Mods (http://forum.shrapnelgames.com/forumdisplay.php?f=130)
-   -   what's the 'DISP' command? (http://forum.shrapnelgames.com/showthread.php?t=49169)

clomaka September 25th, 2012 05:27 PM

what's the 'DISP' command?
 
I'm tracking down stuff and noticed that some mods (I'm looking at you, Babylon 5 mod) use the DISP command:

PAGE 2
ACTN popup break
DISP 1
GFXP items/l_dust.tga
TITL Dust Trafficing
TEXT You have been warned...
ENMY earthalliance
END PAGE

I can't find any reference to what it does, and things work just as well without it (i think). It's worked it's way into my mod, probably just from copy-pasting quest bits, but I was hoping to verify what it does/doesn't do before wholesale removing it.

sgqwonkian October 29th, 2012 10:56 AM

Re: what's the 'DISP' command?
 
That forces the game to display your text in it's own window, instead of using the planet exploration window. On a planet-based quest, that's irrelevant, but IIRC, it can matter when a quest triggers at times other than planet exploration.


Relevant quote from Fingers at Infinite Space Federation (and mirrored at http://weirdworldsmods.wikidot.com)
Quote:

The PAGE block is indeed an "event". It usually has a page of text with an image, but if the ACTN line doesn't include "popup" then nothing will be displayed. Note that if the page is triggered by an exploration event, it will be displayed in the exploration window (the one with the planet). This can be overridden with the "DISP 1" command as seen in the victory message. This causes the page to be displayed in its own pop-up window.


All times are GMT -4. The time now is 02:13 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.