Talk:ActionTakeItem
From NWN Lexicon
[edit] Known Bugs
I suspect that the Known Bugs section of this article may be out of date:
[edit] Calling ActionTakeItem on areas or the module
The text says:
While testing this action in an Area's OnEnter, the area crashed at load-time if the Action was added to the Area's action queue. - note by Lilac Soul: Actually, areas and modules can't have action queues and that is probably what is causing the crash.
Several other Action* functions note that they used to crash the game when called on a module or area object, but they have now been fixed. Thus, I suspect that the bug described here has been fixed. Until someone can verify that this information is still accurate, I don't want to apply the {{bug}} template. - Squatting Monk (talk) 00:18, 14 September 2012 (UTC)
[edit] Calling ActionTakeItem on containers within containers
Containerception!
The text states:
When using ActionTakeItem on a container within a container the game will crash. Suggested workaround is to place the container on the floor (preferably in the top right corner where it cannot be seen) and then perform ActionTakeItem on it.
Does this mean that a container within a container cannot be the action subject, that it cannot be oItem, or that it cannot be oTakeFrom? In any case, is this bug still present? - Squatting Monk (talk) 00:18, 14 September 2012 (UTC)