Difference between revisions of "ReferenceAlias Script"
Jump to navigation
Jump to search
→Member Functions
imported>Jlundin (→Events) |
imported>Jog |
||
Line 19: | Line 19: | ||
== Member Functions == | == Member Functions == | ||
'''Function [[AddInventoryEventFilter - ObjectReference|AddInventoryEventFilter]](Form akFilter)''' | |||
*Adds an inventory event filter to this alias. | |||
'''Function [[Clear - ReferenceAlias|Clear]]()''' | |||
*Clears this alias from pointing at anything. | |||
'''bool Function [[ForceRefIfEmpty - ReferenceAlias|ForceRefIfEmpty]](ObjectReference akNewRef)''' | |||
*Tries to force a reference into the alias, but only if it's already empty. | |||
'''Function [[ForceRefTo - ReferenceAlias|ForceRefTo]](ObjectReference akNewRef)''' | |||
*Forces this alias to use the specified [[ObjectReference Script|ObjectReference]] | |||
'''Actor Function [[GetActorReference - ReferenceAlias|GetActorRef]]()''' | |||
*Alias for GetActorReference(). | |||
'''Actor Function [[GetActorReference - ReferenceAlias|GetActorReference]]()''' | |||
*Retrieves the alias's [[ObjectReference Script|ObjectReference]] cast as an [[Actor Script|Actor]]. | |||
'''ObjectReference Function [[GetReference - ReferenceAlias|GetRef]]()''' | |||
*Alias for GetReference(). | |||
'''ObjectReference Function [[GetReference - ReferenceAlias|GetReference]]()''' | |||
*Attempts to retrieve the [[ObjectReference Script|ObjectReference]] that this alias is pointing at | |||
'''Function [[RemoveAllInventoryEventFilters - ObjectReference|RemoveAllInventoryEventFilters]]()''' | |||
*Remove all inventory event filters on this alias. | |||
'''Function [[RemoveInventoryEventFilter - ObjectReference|RemoveInventoryEventFilter]](Form akFilter)''' | |||
*Remove a specific inventory event filter. | |||
'''bool Function [[TryToAddToFaction - ReferenceAlias|TryToAddToFaction]](Faction FactionToAddTo)''' | |||
*Attempts to add the reference this alias points to to a faction | |||
'''bool Function [[TryToClear - ReferenceAlias|TryToClear]]()''' | |||
*Attempts to clear this alias | |||
'''bool Function [[TryToDisable - ReferenceAlias|TryToDisable]]()''' | |||
*Attempts to disable the reference this alias points at | |||
'''bool Function [[TryToDisableNoWait - ReferenceAlias|TryToDisableNoWait]]()''' | |||
*Attempts to disable the reference this alias points at (the no-wait version) | |||
'''bool Function [[TryToEnable - ReferenceAlias|TryToEnable]]()''' | |||
*Attempts to enable the reference this alias points at | |||
'''bool Function [[TryToEnableNoWait - ReferenceAlias|TryToEnableNoWait]]()''' | |||
*Attempts to enable the reference this alias points at (no-wait version) | |||
'''bool Function [[TryToEvaluatePackage - ReferenceAlias|TryToEvaluatePackage]]()''' | |||
*Attempts to get the actor this alias points at to re-evaluate his package stack | |||
'''bool Function [[TryToKill - ReferenceAlias|TryToKill]]()''' | |||
*Attempts to kill the actor this alias points at | |||
'''bool Function [[TryToMoveTo - ReferenceAlias|TryToMoveTo]](ObjectReference RefToMoveTo)''' | |||
*Attempts to move the reference this alias points to to the target reference | |||
'''bool Function [[TryToRemoveFromFaction - ReferenceAlias|TryToRemoveFromFaction]](Faction FactionToRemoveFrom)''' | |||
*Attempts to remove the reference this alias points to from a faction | |||
'''bool Function [[TryToReset - ReferenceAlias|TryToReset]]()''' | |||
*Attempts to reset the reference this alias points at | |||
'''bool Function [[TryToStopCombat - ReferenceAlias|TryToStopCombat]]()''' | |||
*Attempts to remove the actor this alias points at from combat | |||
== Events == | == Events == |