Jump to content

Script" could use some help


Recommended Posts

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 MSInfTest123Shout

Game Property Player auto
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
endIf
endif
EndEvent

 

 

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


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 by TheDungeonDweller
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...