ianpatt / f4se

Fallout 4 Script Extender
https://f4se.silverlock.org
120 stars 24 forks source link

Need for specific functions #10

Closed paladinkolovrat closed 5 months ago

paladinkolovrat commented 3 years ago

Hi! Can I ask for some features like: -Check door opening -Check container opening -Check item grabbing

We're working on animation mod - animating ingestible item for 1st and 3rd person(like in Escape From Tarkov, for example). We tried to make features up here but didn't succeed. It cannot be achieved by scripts, maybe .dll plugin can do something but this is out of our abilities.

Thank you in advance!

Scrivener07 commented 3 years ago

Much of this sounds achievable with vanilla capabilities. Expect that a new papyrus function request will be scrutinized.

Opening & Closing https://www.creationkit.com/fallout4/index.php?title=OnActivate_-_ObjectReference https://www.creationkit.com/fallout4/index.php?title=OnOpen_-_ObjectReference https://www.creationkit.com/fallout4/index.php?title=OnClose_-_ObjectReference https://www.creationkit.com/fallout4/index.php?title=OnAnimationEvent_-_ScriptObject

Grabbing https://www.creationkit.com/fallout4/index.php?title=GetPlayerGrabbedRef_-_Game https://www.creationkit.com/fallout4/index.php?title=OnGrab_-_ObjectReference https://www.creationkit.com/fallout4/index.php?title=OnRelease_-_ObjectReference

Containers https://www.creationkit.com/fallout4/index.php?title=OnContainerChanged_-_ObjectReference https://www.creationkit.com/fallout4/index.php?title=OnItemAdded_-_ObjectReference https://www.creationkit.com/fallout4/index.php?title=OnItemRemoved_-_ObjectReference https://www.creationkit.com/fallout4/index.php?title=OnEquipped_-_ObjectReference https://www.creationkit.com/fallout4/index.php?title=OnUnequipped_-_ObjectReference https://www.creationkit.com/fallout4/index.php?title=OnItemEquipped_-_Actor https://www.creationkit.com/fallout4/index.php?title=OnItemUnequipped_-_Actor

Animated items have also been achieved if you search existing mods.

niston commented 2 years ago

Also, for to get open state of an object, you can use GetOpenState(): https://www.creationkit.com/fallout4/index.php?title=GetOpenState_-_ObjectReference