Background for Starfield
Member of the RefCollectionAlias script
eventOnPlayerTrespass(ObjectReferenceakSenderRef, ObjectReferenceakVictim, LocationakLocation, boolaeCrime)

Description

Documentation Comment

Event that is triggered when the player trespassing.


Parameters

  1. ObjectReferenceakSenderRef

  2. ObjectReferenceakVictim

  3. LocationakLocation

  4. boolaeCrime


Examples

Auto-Generated Example

Scriptname MyCoolScript extends RefCollectionAlias

event OnPlayerTrespass(ObjectReference akSenderRef, ObjectReference akVictim, Location akLocation, bool aeCrime)
    Debug.trace("Event received - OnPlayerTrespass: akSenderRef = " + akSenderRef + " akVictim = " + akVictim + " akLocation = " + akLocation + " aeCrime = " + aeCrime)
endEvent
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.