This event is raised when the potential activation target for the player changes.
--- @param e activationTargetChangedEventData local function activationTargetChangedCallback(e) end event.register(tes3.event.activationTargetChanged, activationTargetChangedCallback)
This event can be filtered based on the
current event data.
An event can be claimed by setting
true, or by returning
false from the callback. Claiming the event prevents any lower priority callbacks from being called.
current(tes3reference): Read-only. The activation target for the player, should they press the activation key. This can be nil when the player is not looking at an activateable object.
previous(tes3reference): Read-only. The previous activation target. If the player picked up or activated the previous target, this value may become nil, as the reference no longer exists after being taken.
Created: August 10, 2021 18:38:47