Background for Fallout 4
Member of the ScriptObject script
voidfunctionUnregisterForRemoteEvent(ScriptObjectakEventSource, stringasEventName)Native

[DEV SERVER] Loading description...


Caveats

CK Wiki - Notes

Aliases and quests will automatically unregister for this event when the quest stops. Active magic effects will automatically unregister when they are removed.


Parameters

ScriptObjectakEventSource

CK Wiki Description

The ScriptObject that receives the event we no longer want to receive.

stringasEventName

CK Wiki Description

The event we do not want relayed to us. This must be a raw string literal and may not be a variable.


Examples

; Stop receiving OnActivate events from the secret door
UnregisterForRemoteEvent(SecretDoor, "OnActivate")

Auto-Generated Example

ScriptObject myScriptObject__akEventSource
ScriptEventName (string[]) myScriptEventName (string[])__asEventName

myScriptObject__toCallFunctionOn.UnregisterForRemoteEvent(myScriptObject__akEventSource, myScriptEventName (string[])__asEventName)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.