Difference between revisions of "User:DavidJCobb/Miscellany"

741 bytes added ,  15:18, 10 February 2015
m
→‎Unsorted edge-cases: Added edge-case from the CK bug list on the Beth forums.
imported>DavidJCobb
(→‎Scripting: If you're having trouble with updating functions that have optional arguments and are called cross-script, here ya go. Ain't Papyrus fun?)
imported>DavidJCobb
m (→‎Unsorted edge-cases: Added edge-case from the CK bug list on the Beth forums.)
Line 134: Line 134:
* Be careful about handling things OnCellAttach and OnCellDetach in Riften. [http://afkmods.iguanadons.net/index.php?/topic/3781-the-critter-thread/page-8#entry150257 The city's walkways have you cross back and forth across a cell boundary.]
* Be careful about handling things OnCellAttach and OnCellDetach in Riften. [http://afkmods.iguanadons.net/index.php?/topic/3781-the-critter-thread/page-8#entry150257 The city's walkways have you cross back and forth across a cell boundary.]
** ''The use case dealt with here involves deleting critters when you leave their containing cells. The scripter's attempted solution was to add a timed delay (using OnUpdateGameTime) to the deletion. Return to the cell before the timer has elapsed, and the critter is reused -- the deletion is canceled.''
** ''The use case dealt with here involves deleting critters when you leave their containing cells. The scripter's attempted solution was to add a timed delay (using OnUpdateGameTime) to the deletion. Return to the cell before the timer has elapsed, and the critter is reused -- the deletion is canceled.''
 
* If an NPC is attempting to use their Activate package on a Furniture, but is killed before they reach the Furniture, then [http://forums.bethsoft.com/topic/1513844-isfurnitureinuse-is-true-if-actor-died-before-activating-it/ the Furniture will remain reserved].
** An acceptable workaround is to use a Travel package to bring your NPC within activation range of the Furniture, and ''then'' run an Activate package. This method may allow other NPCs to snatch the Furniture out from under you, but it prevents indefinite reservations if your NPC dies.
** Known events that will release a dead NPC's reservation:
*** Enabling and disabling the reserving NPC
*** The player using the furniture themselves
*** The player using the Wait function


=== Unsorted engine bugs ===
=== Unsorted engine bugs ===
Anonymous user