Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Dialog Option To Appear After The Leviathan

Page: 1 of 1
 goldberry
01-13-2006, 3:49 PM
#1
Because I can't say when I want someone to visit a custom planet I have made, I want to give the player different dialog options depending on if the Leviathan has been completed or not.

What would I put in a script (as short as possible) for this to work?
 Darth333
01-13-2006, 4:16 PM
#2
int StartingConditional()
{
return (GetGlobalBoolean("LEV_MALDREAM")== TRUE);
}


You can also check k_qa.nss for the global numbers corresponding to each planet. If I remember well the LEV_MALDREAM global is set to true when the player learns who he/she but there's nothing to do on the leviathan afterwards and there are no dialogues (if you need it, you still could add a line to check if the player is still onboard but it's kind of pointless IMHO). This is what I used for T7's revan's mask plus mod.
 goldberry
01-13-2006, 4:29 PM
#3
As always: Darth333 to the rescue. Thanks a bunch. This will help me alot.
Page: 1 of 1