Editing
LocationAlias Script
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
[[Category:Scripting]] [[Category:Papyrus]] [[Category:Script Objects]] '''Extends:''' [[Alias Script (Papyrus)]] Script for the manipulation of location aliases. == Definition == <syntaxhighlight lang="papyrus"> ScriptName LocationAlias extends Alias </syntaxhighlight> == Properties == None == Global Functions == None == Member Functions == :'''[[Clear - LocationAlias|Clear]]()''' :*Clears this alias from pointing at anything. :'''Location [[GetLocation - LocationAlias|GetLocation]]()''' :*Attempts to retrieve the [[Location Script|Location]] that this alias is pointing at :'''[[ForceLocationTo - LocationAlias|ForceLocationTo]](Location ''akNewLocation'')''' :*Forces this alias to point at the specified [[Location Script|Location]]. == Events == Will receive every event from the [[Location Script (Papyrus)|Location]] they are attached to. *a Misleading statement, locations have no events. Locations aliases can be set to FILL on location changes via alias settings - wherein most actual interaction with these sorts of aliases is handled. * the ONLY event these aliases will ever receive are those listed are those registered for via [[Alias Script]], and most are inapplicable. *Location aliases, like reference aliases, do not receive updates registered to the forms contained within the alias. *Almost all interaction that is not handled in the quest alias data window is handled via external references to the contents of these alias <syntaxhighlight lang="papyrus"> If (SomeQuest.GetAlias(3) as LocationAlias).GetLocation() == SomeLocation ;We're in the right location! Endif </syntaxhighlight>
Summary:
Please note that all contributions to the CreationKit Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
CreationKit:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Landing page
Tutorials
Game Systems
Editor Reference
Scripting Reference
Recent changes
Help
Tools
What links here
Related changes
Special pages
Page information
Page values