Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
- ;NEXT FRAGMENT INDEX 3
- Scriptname ST___QF__03087413 Extends Quest Hidden
- ;BEGIN ALIAS PROPERTY MapMarker
- ;ALIAS PROPERTY TYPE ReferenceAlias
- ReferenceAlias Property Alias_MapMarker Auto
- ;END ALIAS PROPERTY
- ;BEGIN ALIAS PROPERTY GreirasContainer
- ;ALIAS PROPERTY TYPE ReferenceAlias
- ReferenceAlias Property Alias_GreirasContainer Auto
- ;END ALIAS PROPERTY
- ;BEGIN ALIAS PROPERTY Stonecrest
- ;ALIAS PROPERTY TYPE LocationAlias
- LocationAlias Property Alias_Stonecrest Auto
- ;END ALIAS PROPERTY
- ;BEGIN ALIAS PROPERTY GreirasLetter
- ;ALIAS PROPERTY TYPE ReferenceAlias
- ReferenceAlias Property Alias_GreirasLetter Auto
- ;END ALIAS PROPERTY
- ;BEGIN FRAGMENT Fragment_2
- Function Fragment_2()
- ;BEGIN CODE
- ;Player must read the letter
- SetObjectiveDisplayed(5, 1)
- ;END CODE
- EndFunction
- ;END FRAGMENT
- ;BEGIN FRAGMENT Fragment_0
- Function Fragment_0()
- ;BEGIN CODE
- ;Give the Courier the Letter from Greira
- CourierScript.AddItemToContainer(Alias_GreirasLetter.GetReference())
- ;Disable the Inicial guards
- pST_CSOI01InicialGuardDisableMarkerEXT.disable()
- ;Enable the Ship and the Pirates
- PirateEnableMarkerInt.Enable()
- PirateEnableMarkerExt.Enable()
- pST_CSOI01EnableShipClothersEXT.Enable()
- ;END CODE
- EndFunction
- ;END FRAGMENT
- ;BEGIN FRAGMENT Fragment_1
- Function Fragment_1()
- ;BEGIN CODE
- ;Player has read the letter, start the ST_CSOI01 main quest
- CompleteAllObjectives()
- Alias_MapMarker.GetRef().AddtoMap()
- Stop()
- ;END CODE
- EndFunction
- ;END FRAGMENT
- ;END FRAGMENT CODE - Do not edit anything between this and the begin comment
- ObjectReference Property PirateEnableMarkerInt Auto
- ObjectReference Property PirateEnableMarkerExt Auto
- ObjectReference Property pST_CSOI01EnableShipClothersEXT Auto
- ObjectReference Property pST_CSOI01InicialGuardDisableMarkerEXT Auto
- Quest Property pST_CSOI01 Auto
- WICourierScript Property CourierScript Auto
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement