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?
  
 
  
  
    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.
  
 
  
  
    As always: Darth333 to the rescue. Thanks a bunch. This will help me alot.