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