Editing Creating Custom Couriers

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.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 497: Line 497:
*: GetIsAliasRef (NextNearest) != 1.0
*: GetIsAliasRef (NextNearest) != 1.0


The quest loads these aliases into three properties, Near, Mid, and Far with a script like this:
The quest loads these aliases into three properties, Near, Mid, and Far.
 
<source lang="papyrus">
Scriptname CourierSpawnPointScript extends Quest 
 
ObjectReference Property Near Auto
ReferenceAlias Property aNear Auto
 
ObjectReference Property Mid Auto
ReferenceAlias Property aMid Auto
 
ObjectReference Property Far Auto
ReferenceAlias Property aFar Auto
 
Event OnInit()
Utility.Wait(5.0)
Near = aNear.GetRef()
Mid = aMid.GetRef()
far = aFar.GetRef()
EndEvent
</Source>


Assign ANear, AMid and AFar to the above mentioned aliases.
Assign ANear, AMid and AFar to the above mentioned aliases.

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)