Jump to content

Home

Star Map Script Help!


RedHawke

Recommended Posts

Mate I think I should apologize for the trouble you are having with that script :p

I believe I'm the one that gave you that trouble with the idea of my Lightsaber right?

Well if not possible then just make it findable with some NPC in Korriban after talking the right words with him.

If you want me to explain better or give other ideas just PM me.

Link to comment
Share on other sites

You can check k_qa.nss to get the global numbers for the planets and the star maps.

Then, depending on what you want to do, make a script that will contain something like this :

(the content of the script may vary depending on what you want to do. This one can be attached to the active filed of a dlg file to make a reply available or not.

int StartingConditional()
{
  int nStar = GetGlobalNumber("K_STAR_MAP");

   if (nStar==30)
   {
       return TRUE;
   }
   return FALSE;
}

 

I you want an event to occur after the discovery of the 3rd star map you could make a script that starts with:

void main()
{
   int nStar = GetGlobalNumber("K_STAR_MAP");

   if  (nStar==30)
   {
 do something
  }
}

Link to comment
Share on other sites

          Star Map
           The global number is:
           K_STAR_MAP
           States:
           0 - No maps activated
           10 - 1st Map Activated (Dantooine)
           20 - 2nd Map Activated
           30 - 3rd Map Activated
           40 - 4th Map Activated - Captured by the Leviathan
           50 - 5th Map Activated
           */

from k_qa.nss

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...