View Single Post
Old 01-11-2012, 10:15 PM   #39
Qui-Gon Glenn
Digory Kirke's Bafflement
 
Qui-Gon Glenn's Avatar
 
Join Date: May 2007
Location: Irune
Posts: 1,491
Current Game: KotOR awww yeah
Folder extraordinaire Helpful! Forum Veteran Veteran Modder 
Quote:
Originally Posted by JCarter426 View Post
My problem was that one NPC seemed to be excluded 95% of the time, which I resolved by using GetNearestObjectByTag rather than GetObjectByTag, which is screwy... clearly why GetNearestObjectByTag exists. However, GetObjectByTag does recognize 0, and inputting 0 doesn't immediately crash the game. So there's that.
Interesting... I have wondered what the specific purpose for these two different but similar functions were. Good to know that GetNearestObjectByTag can be more reliable


Want to play a game of ME3MP?
Qui-Gon_Glenn
Qui-Gon Glenn is offline   you may: quote & reply,