Jump to content

Opcode #107


Caedwyr

Recommended Posts

As I do not currently have access to a computer with BGII & modding stuff installed, I was wondering if I could get some feedback on Opcode #107

 

#107 (0x06B) Portrait Change [107]
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Sets the portrait of the targeted creature(s) to that specified in the resource key, based on the 'Type' value.

Known values for 'Type' are:
0   Small portrait
1   Large portrait

 

Does this opcode behave with respect to timing modes? For example, could I set a duration for a portrait change and have it return to whatever previous portrait was being used when the duration expired without some hackery?

 

Also, to extend to this question, is there any in-game method for detecting what portrait is currently being used by a target character and to save that information anywhere for later use?

Link to comment

devSin is correct - the effect permanently sets the portrait, regardless of timing modes, and there is no way to determine the PC portrait.

 

What else would you expect from the IE?

Link to comment

Archived

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

×
×
  • Create New...