View Single Post
Old 06-08-2012, 04:56 AM   #263
Hassat Hunter
Forumite
 
Join Date: Jan 2010
Posts: 537
Code:
if ((GetGlobalNumber("di_tat_win") >= 0) && GetGlobalNumber("di_tat_win") < 7)
Pretty sure this should be
Code:
if ((GetGlobalNumber("di_tat_win") >= 0) && (GetGlobalNumber("di_tat_win") < 7))
Also noticed working on some other scripts, else if doesn't work with KOTOR... so replace them with code like thus;
Code:
		else {
				if ((GetGlobalNumber("000_atriscs1") == 2)) {
Any additional "else's" get below the if in height. Pretty much all closing tags (except to end ifs, before a new else) in the end. Sorry about that.

Also can't see it trigger the dialogue (as in your old on_death), but that probably is because you want it to destroy enemies first, right?

Though if you were already using on_death for all that... why didn't a delete enemies script work when set there :/
Hassat Hunter is offline   you may: quote & reply,