- 
				Content Count78
- 
				Joined
- 
				Last visited
- 
				Days Won1
Single Status Update
- 
	
	GetPartyMemberByIndex() doesn't work? Had the worst night ever scripting a little cutscene (so many bugs and limitations+my unorganization), and was wondering why my party members weren't doing anything. Tried using GetObjectByTag for the specific companions I had and everything worked... So is GetPartyMemberByIndex the problem? What alternative is there? - Show previous comments 4 more
- 
	
	
		  That's strange, but it really wouldn't surprise me if those functions don't work in cutscenes. GetPartyMemberByIndex() I know relies on whom you're controlling (like when you switch control to use Trask to open the door) and you quite possibly aren't "controlling" anybody in a cutscene. I would've thought GetNexPC() wouldn't have that issue but perhaps not. Here's something else to try: object oPC = GetFirstPC(); object oPM1 = GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_NOT_PC, oPC, 1, -1, -1, -1, -1); object oPM2 = GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_NOT_PC, oPC, 2, -1, -1, -1, -1);
- 
	
	
		  
- 
	
	
		  
 

 
			 
	 
	 
	 
	 
						