Originally Posted by Abraxas*
Hey FrauBlake,

I didn't want to let characters 'steal' inventory objects, except resurrection scrolls. Though the problem with using objects from inventory is that - surprise (we know that from Osiris in certain cases) - we can't access objects in containers in character inventory via object scripts. ItemGetFromInventory doesn't work here. Therefore my resurrection AI for XC_Encounters can't use the scrolls from your bags and couldn't use grenades or arrows either. :-(

Hmmmm, you should have removed the bags then .... just kidding ;-)

It's a surprise to hear that object scripts can even interact with inventory at all, didn't know that. (Nor pay too much attention since I never did a lot of OS.)

Also interesting that this interface seems to be different from the Osiris one because I think that Osiris considers the complete inventory including any containers with its ItemTemplateIsInInventory() (or similar) query.

Its been quite long since I did anything in the editor or Osiris but if that was really the case, it could be done with an Object Script - Osiris duo. But as said, that would totally break retroactive applicability.
(It would be usable as some kind of 'library' in other projects that must use Osiris and thus always require a new game anyway ... But who really starts new projects nowadays, except you with your object script projects that can be applied at any point ;-)


I'm not sure what parts of XC_Bags' crafting Smarmbot left in the merger, so there might not be a big point considering ballons and water arrows for Burning removal anyway since they are only available in masses in XC_Bags (very easy crafting) but not so much in the vanilla game (and most likely not in Epic Encounters as well).

I just thought - since you are such a scripter king - that it would be a neat idea to use grenade throwing, since it must be doable in object scripts or enemies could not do it ...