Difference between revisions of "Bug list"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Black RL
imported>Black RL
Line 18: Line 18:


Put the load doors as you normally do but don't check the teleport flag, put a XMarkerHeading in front of the doors (object window -> static), name one XMarkerHeading Objective001 and the other one Objective001A (that way you know that they are connected). Another set of load doors should be called for example Objective002 and Objective002A. See pictures:
Put the load doors as you normally do but don't check the teleport flag, put a XMarkerHeading in front of the doors (object window -> static), name one XMarkerHeading Objective001 and the other one Objective001A (that way you know that they are connected). Another set of load doors should be called for example Objective002 and Objective002A. See pictures:


[[File:CKTUTLoadBug03.jpg]]
[[File:CKTUTLoadBug03.jpg]]


[[File:CKTUTLoadBug04.jpg]]
[[File:CKTUTLoadBug04.jpg]]
Put the following script into the doors, safe object is the bucket, one door has to have 1 in TravelTo and the other has to have 2:
<source lang="papyrus">
Scriptname ACHSafeLoadScript extends ObjectReference
;Written by Black RL, I'm no expert so don't bash
;Works with script ACHSafeLoadCHILDScript
;TravelTo defines objective and writes into the global, you can expand to suite your needs
;Objective001 is the first objective for the load door, Objective001A it's the way back so you keep track of things
;You can expand objective to suite your needs
GlobalVariable Property SafeLoadGlobal Auto
{The global that controls travel objective}
Float Property TravelTo Auto
{1 = Objective001, 2 = Objective001A, 3 = Objective002, 4 = Objective002A, etc....}
ImageSpaceModifier Property ImageSpaceToApply Auto
{Use FAdeToBlackBackImod}
ObjectReference Property SafeObject Auto
{Our object in the safe cell, I use a bucket}
Event OnActivate(ObjectReference akActionRef)
  Debug.Notification("Activated by " + akActionRef)
  SafeLoadGlobal.SetValue(TravelTo)
  ImageSpaceToApply.Apply()
  akActionRef.MoveTo(SafeObject)
EndEvent
</source>

Revision as of 17:47, 17 June 2012

Version 1.6.89.0

Achtung.png You can check the discussion in the official forum here
  • Interior cell has a static rm limit

Create a new global variable (Object window -> global), see picture:

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!

CKTUTLoadBug02.jpg

Put the load doors as you normally do but don't check the teleport flag, put a XMarkerHeading in front of the doors (object window -> static), name one XMarkerHeading Objective001 and the other one Objective001A (that way you know that they are connected). Another set of load doors should be called for example Objective002 and Objective002A. See pictures:

CKTUTLoadBug03.jpg

CKTUTLoadBug04.jpg

Put the following script into the doors, safe object is the bucket, one door has to have 1 in TravelTo and the other has to have 2:

Scriptname ACHSafeLoadScript extends ObjectReference

;Written by Black RL, I'm no expert so don't bash
;Works with script ACHSafeLoadCHILDScript
;TravelTo defines objective and writes into the global, you can expand to suite your needs
;Objective001 is the first objective for the load door, Objective001A it's the way back so you keep track of things
;You can expand objective to suite your needs

GlobalVariable Property SafeLoadGlobal Auto
{The global that controls travel objective}
Float Property TravelTo Auto
{1 = Objective001, 2 = Objective001A, 3 = Objective002, 4 = Objective002A, etc....}
ImageSpaceModifier Property ImageSpaceToApply Auto
{Use FAdeToBlackBackImod}
ObjectReference Property SafeObject Auto
{Our object in the safe cell, I use a bucket}

Event OnActivate(ObjectReference akActionRef)
  Debug.Notification("Activated by " + akActionRef)
  SafeLoadGlobal.SetValue(TravelTo)
  ImageSpaceToApply.Apply()
  akActionRef.MoveTo(SafeObject)
EndEvent