View Single Post
Old 04-05-2012, 03:35 PM   #11
Fallen Guardian
@Fallen Guardian
Wandering the Galaxy...
Fallen Guardian's Avatar
Join Date: Aug 2010
Location: Unknown Regions
Posts: 1,294
Current Game: XCOM 2
Veteran Modder  Helpful! 
Okay, so I've been trying to use this script:

void main()

     object oPC=GetFirstPC();

	object oNPC = GetObjectByTag("d14ab_dcm"); 

  int iResult = GetLocalBoolean(oNPC, 21);

if ( iResult == FALSE) {

  AddJournalQuestEntry("DT_Q4", 25);


if ( iResult == TRUE) {

  		AddJournalQuestEntry("DT_Q4", 20);
Yet for some reason when iResult is true, the journal entry isn't given. Now this is designed so that no matter what, whichever entry is going to be given it's already higher than the previous entry, thus no need for int bOverrideHigher. Now I tried using the type of script VP suggested on April 2nd, but then neither entry would be given. So, I decided to use the revised format that VP suggested, leading to my script above. Is there something I should change to make my script work?

The truly fallen cannot return to the light. If someone "falls" and "returns," they never really, truly fell.

Current Work in Progress: Dantooine Tension

Released Works
Blaster Pistol Enhancement
Dustil Restoration
Ebon Hawk Texture Enhancement
Gaffi Stick Improvement
Weapon Model Overhaul Texture Rework (Thanks to Toasty Fresh!)
Sunry Murder Recording Enhancement
VP's Hi Poly Tin Cans - KotOR 1 Version
Fallen Guardian is offline   you may: quote & reply,