dizietemblesssma Posted October 21, 2023 Share Posted October 21, 2023 I cannot get this to fire, i have put the event in a script attached to piece of furniture, the script extends object reference and even with just the one event:Event OnGetUp(ObjectReference akFurniture) debug.trace("ongetup event")EndEvent there is no trace.If the script extends Actor then papyrus.0.log complains that base type don't match and the script can't be attached.Does this event work? It is listed as part of the Actor script so it might make sense that it doesn't work in an objectreference extended script except it does compile and I don't see how the ObjectReference akFurniture paramter could return a piece of furniture as the wiki:https://www.creationkit.com/index.php?title=OnGetUp_-_Actorif the script is not attached to it:) diziet Link to comment Share on other sites More sharing options...
dizietemblesssma Posted October 21, 2023 Author Share Posted October 21, 2023 Never mind, I just clocked this:https://forums.nexusmods.com/index.php?/topic/6411451-ongetup-doesnt-fire/:) diziet Link to comment Share on other sites More sharing options...
PeterMartyr Posted October 23, 2023 Share Posted October 23, 2023 Attach an Actor Script to an Actor Object, or yeah an Event will not fire, this is true for events in all objects, in all languages with Inheritance "presay", keep going you will learn how how it works.. BTW welcome to the deep end, nothing to fix except your learning curve. Edit OFC there will be other Objects also registered to receive that Event. Question is, I got no idea what object your using or require, so cannot recommend anything. But I would check the AliasReference Script to see if it receives the Event OR use this on the furniture Object Reference Event OnActivate(ObjectReference akActionRef) If akActionRef == Game.GetPlayer() ; do something cool EndIf EndEvent :devil: Link to comment Share on other sites More sharing options...
scorrp10 Posted October 26, 2023 Share Posted October 26, 2023 OnGetUp() event can be defined on an Actor object, or on an ActiveMagicEffect that has been applied to an Actor, or on a ReferenceAlias that aliases an Actor. Link to comment Share on other sites More sharing options...
Recommended Posts