indipindi Posted July 10, 2017 Share Posted July 10, 2017 Hey Guys, could use some help pls. Currently working on a Test Shout.I add the Shout ingame with an Book and "OnRead Event",All works greate so far,here is what i got. Scriptname Test123Test extends ObjectReference bool MSInfTest123ShoutGame Property Player autoShout Property Test123Shout autoWordOfPower Property Word1 AutoWordOfPower Property Word2 AutoWordOfPower Property Word3 AutoEvent OnRead() if (MSInfTest123Shout == FALSE) if (Game.GetPlayer().AddShout(Test123Shout)) Game.TeachWord(Word1) Game.TeachWord(Word2) Game.TeachWord(Word3) MSInfTest123Shout == TRUE endIfendifEndEvent My Problem and Question is. This only teaches you the Shout and Words Ingame... so far so good!But leaves the activation Process untouched.You still have to activate the Shout with 3 Dragonsouls Ingame.Is there anyway to implement the activation Process with Dragonsouls into the "OnRead Event" ? My goal is to completely activate the Shout while reading the Book even if you dont have any Dragonsouls. Greets Indipindi. Link to comment Share on other sites More sharing options...
TheDungeonDweller Posted July 10, 2017 Share Posted July 10, 2017 (edited) Scriptname Test123Test extends ObjectReference bool MSInfTest123Shout Shout Property Test123Shout auto WordOfPower Property Word1 Auto WordOfPower Property Word2 Auto WordOfPower Property Word3 Auto Event OnRead() if (MSInfTest123Shout == FALSE) if (Game.GetPlayer().AddShout(Test123Shout)) Game.TeachWord(Word1) Game.TeachWord(Word2) Game.TeachWord(Word3) MSInfTest123Shout == TRUE utility.wait(0.2) Game.UnlockWord(Word1) Game.UnlockWord(Word2) Game.UnlockWord(Word3) endIf endif EndEvent Edited July 11, 2017 by TheDungeonDweller Link to comment Share on other sites More sharing options...
lofgren Posted July 11, 2017 Share Posted July 11, 2017 Delete the "game property player auto" line. Link to comment Share on other sites More sharing options...
indipindi Posted July 11, 2017 Author Share Posted July 11, 2017 Just came back to scripting after a long brake... tried everything except "unlock" ... Fail :laugh: Works flawlessly,Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts