Difference between revisions of "Bug list"
no edit summary
imported>Black RL |
imported>Black RL |
||
Line 13: | Line 13: | ||
[[File:CKTUTLoadBug01.jpg]] | [[File:CKTUTLoadBug01.jpg]] | ||
Create a new small cell (duplicate interior cell), this is important, make it small and put a bucket in the middle, that's right, a bucket! | Create a new small cell (duplicate interior cell), this is important, make it small and put a bucket in the middle, that's right, a bucket! Name the bucket SafeObject | ||
[[File:CKTUTLoadBug02.jpg]] | [[File:CKTUTLoadBug02.jpg]] | ||
Line 23: | Line 23: | ||
[[File:CKTUTLoadBug04.jpg]] | [[File:CKTUTLoadBug04.jpg]] | ||
Put the following script into the doors, edit properties (NOT in the script, in CK), safe object is the bucket, one door has to have 1 in TravelTo and the other has to have 2: | Put the following script into the doors, edit properties (NOT in the script, in CK), safe object is the bucket (you can auto-fill if you name it like I said), one door has to have 1 in TravelTo and the other has to have 2: | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Scriptname ACHSafeLoadScript extends ObjectReference | Scriptname ACHSafeLoadScript extends ObjectReference | ||
Line 91: | Line 91: | ||
Done! Go test ingame! ^^ | Done! Go test ingame! ^^ | ||
You can extend the scripts for how many doors you need, you just have to do this in the second script: | |||
Add objectives for your loads (2 for load) and extend the ElseIf (2 for load) | |||
<source lang="papyrus"> | |||
ObjectReference Property Objective003 Auto | |||
ObjectReference Property Objective003A Auto | |||
ElseIf GlobalValue == 5 | |||
PlaceToGo = Objective00 | |||
ElseIf GlobalValue == 6 | |||
PlaceToGo = Objective003A | |||
</source> | |||
Don't forget to edit properties of the bucket and press auto-fill so he recognizes the new loads. |