MoveTo - ObjectReference: Difference between revisions
Jump to navigation
Jump to search
Added a new workaround for the player's eyes being stuck shut that I discovered while making my mod.
No edit summary |
(Added a new workaround for the player's eyes being stuck shut that I discovered while making my mod.) |
||
| Line 62: | Line 62: | ||
* As of 1.9, calling Game.GetPlayer().MoveTo(AnyBedReference) will cause the Player's eyes to become stuck shut. They can only be opened again by using the showracemenu console command, or by reloading the game. | * As of 1.9, calling Game.GetPlayer().MoveTo(AnyBedReference) will cause the Player's eyes to become stuck shut. They can only be opened again by using the showracemenu console command, or by reloading the game. | ||
** New workaround: The player's eyes/facial expression can be quickly and easily reset by using [[Say - ObjectReference|Actor.Say()]] to make the player "say" a topic that the player character has voice lines for. A good example of a topic like this is the DialogueGenericPoisonCoughBranchTopic from the DialogueGeneric quest. You can also make your own custom, silent topic so long as it has sound (can be a silent .wav file) and lip sync. Note: [[Say - ObjectReference|Actor.Say()]] must be called <u>after</u> the player is completely out of the bed and not performing any bed animations, including the "bed get up" animation or else it will not correctly reset the player's face. | |||
* All movement functions can cause [[SetMotionType - ObjectReference#Bugs|major issues]] when used on a reference that has had a [[SetMotionType - ObjectReference|motion type override]] applied. | * All movement functions can cause [[SetMotionType - ObjectReference#Bugs|major issues]] when used on a reference that has had a [[SetMotionType - ObjectReference|motion type override]] applied. | ||