Dan_P Posted January 29 Share Posted January 29 (edited) The Script Actions page doesn't really go into detail on this. When using GiveItemCreate and targeting a specific actor (ex. "Minsc"): BGEE games: It needs to target the script name/death variable on the CRE file IWDEE: It needs to target the actor name in the ARE file UPDATE: kjeron notes in the next post that in IWDEE, all or most creatures stored in ARE files have a flag set to use their actor name over their script name. This explains why certain script actions like GiveItemCreate may need to be used differently in IWDEE if targeting an existing actor in an ARE file. As an example: This action adds an item to an enemy in BG2EE: GiveItemCreate("d2wkzm7","Dragblac",0,0,0) This action adds an item to an enemy in IWDEE: GiveItemCreate("d2wkzm7","Icasaracht",0,0,0) In BG2EE, it uses the script name, "Dragblac". The actor name, "Black Dragon" or "BlackDragon", doesn't work. In IWDEE, it uses the actor name, "Icasaracht". The script name, "Icasa", doesn't work. I haven't done in-game testing with the classic versions, but looking at the scripts in Near Infinity, they work the same way. For IWD1, it uses the actor name. For BG2, it uses the script name. In classic IWD1 and IWD2, some scripts use GiveItemCreate to target a container in the ARE file. I tested in IWDEE and this one doesn't seem to work (these script blocks were removed from the EE version). For EEs (as well as classic), you can do an ActionOverride on the container name, and use CreateItem to add an item. Edited January 29 by Dan_P Quote Link to comment
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.