Difference between revisions of "Papyrus FAQs"
Jump to navigation
Jump to search
→When I call Activate() on a stack of items dropped by the player, only one item in the stack is returned.
imported>Digitalparanoid |
imported>Digitalparanoid |
||
Line 307: | Line 307: | ||
=== When I call Activate() on a stack of items dropped by the player, only one item in the stack is returned. === | === When I call Activate() on a stack of items dropped by the player, only one item in the stack is returned. === | ||
This is a known issue, but it is unknown whether there will be a fix. If there is a fix, there will be an alternate function. | |||
According to SmkViper: | |||
<pre> | |||
We don't add or change parameters to existing functions after they've been | |||
released (because it would require all scripts using that function to be changed | |||
or recompiled). That's not to say new functions cannot be added, but no promises. | |||
Because of the heavy use of Activate in scripts, I'm very wary of changing its | |||
behavior, but I'll look into it. An alternative solution might be to add an | |||
ActivateAll function instead of "fixing" Activate. | |||
</pre> | |||
=== Why do the FindAllReferences* functions appear to return references in the player's inventory? === | === Why do the FindAllReferences* functions appear to return references in the player's inventory? === | ||
=== Does the FindAllReferencesWithKeyword function accept a Formlist as a parameter? === | === Does the FindAllReferencesWithKeyword function accept a Formlist as a parameter? === |