In my quest 1 (docsQ01) I got this script atached to a book that sets the next queststage in quest 1 and fires a storyevent.
QEProperty is a custom Keywoard
Spoiler
Scriptname docsQ01JournalScript extends ReferenceAlias int Property myStage Auto {Quest Stage to Set}Quest Property myQuest Auto {Qest that should get it's Stage set}Keyword Property QEProperty Auto {Costum Keywoard that should be fired via SendStoryEvent}event onRead()myQuest.setStage(myStage)QEProperty.SendStoryEvent()endEvent
Here's a screenshot from my Story Manager Event Node
Spoiler
[img]https://lh3.googleusercontent.com/-JBIn8T3v9Dw/T1TbK83e8QI/AAAAAAAAAHo/NidgW_G4ecU/s1389/SM_Event.png[/img]
[img]https://lh3.googleusercontent.com/-JBIn8T3v9Dw/T1TbK83e8QI/AAAAAAAAAHo/NidgW_G4ecU/s1389/SM_Event.png[/img]
Somehow my 2nd quest (docsQ02) doesn't start.
here's the script code for docsQ02
Spoiler
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment;NEXT FRAGMENT INDEX 7Scriptname QF_docsQ02_0200289E Extends Quest Hidden;BEGIN ALIAS PROPERTY Container;ALIAS PROPERTY TYPE ReferenceAliasReferenceAlias Property Alias_Container Auto;END ALIAS PROPERTY;BEGIN ALIAS PROPERTY DwemerLocation;ALIAS PROPERTY TYPE LocationAliasLocationAlias Property Alias_DwemerLocation Auto;END ALIAS PROPERTY;BEGIN ALIAS PROPERTY sigilStone;ALIAS PROPERTY TYPE ReferenceAliasReferenceAlias Property Alias_sigilStone Auto;END ALIAS PROPERTY;BEGIN ALIAS PROPERTY BanditBoss;ALIAS PROPERTY TYPE ReferenceAliasReferenceAlias Property Alias_BanditBoss Auto;END ALIAS PROPERTY;BEGIN ALIAS PROPERTY BanditLocation;ALIAS PROPERTY TYPE LocationAliasLocationAlias Property Alias_BanditLocation Auto;END ALIAS PROPERTY;BEGIN ALIAS PROPERTY DwemerCube;ALIAS PROPERTY TYPE ReferenceAliasReferenceAlias Property Alias_DwemerCube Auto;END ALIAS PROPERTY;BEGIN ALIAS PROPERTY DwemerPowerSource;ALIAS PROPERTY TYPE ReferenceAliasReferenceAlias Property Alias_DwemerPowerSource Auto;END ALIAS PROPERTY;BEGIN ALIAS PROPERTY Marker;ALIAS PROPERTY TYPE ReferenceAliasReferenceAlias Property Alias_Marker Auto;END ALIAS PROPERTY;BEGIN FRAGMENT Fragment_6Function Fragment_6();BEGIN CODEDebug.Notification("docsQ02 Stage 40")if (Alias_Marker.TryToEnable()) Debug.Notification("docsQ02 Teleporter Enabled")endifif (Game.GetPlayer().AddSpell(TeleportSpell)) Debug.Notification("Teleportation Ability added to the player")endIfSetObjectiveCompleted(30);END CODEEndFunction;END FRAGMENT;BEGIN FRAGMENT Fragment_4Function Fragment_4();BEGIN CODEDebug.Notification("docsQ02 start")PowerOn = 0SetObjectiveDisplayed(10);END CODEEndFunction;END FRAGMENT;BEGIN FRAGMENT Fragment_0Function Fragment_0();BEGIN CODEDebug.Notification("docsQ02 Stage 20")SetObjectiveCompleted(10)SetObjectiveDisplayed(20);END CODEEndFunction;END FRAGMENT;BEGIN FRAGMENT Fragment_5Function Fragment_5();BEGIN CODEDebug.Notification("docsQ02 Stage 30")SetObjectiveCompleted(20)SetObjectiveDisplayed(30);END CODEEndFunction;END FRAGMENT;BEGIN FRAGMENT Fragment_1Function Fragment_1();BEGIN CODEDebug.Notification("docsQ02 Stage 10")SetObjectiveDisplayed(10);END CODEEndFunction;END FRAGMENT;END FRAGMENT CODE - Do not edit anything between this and the begin commentInt Property PowerOn = 0 Auto SPELL Property TeleportSpell Auto
I can't figure out what's wrong here any help would be great
