Jump to content

AddShout Not Working?


Dreae

Recommended Posts

So I've tried to write a script for an activator that would add a shout to the player, but it's not working. Can anyone help?

 

Script:

 

Scriptname TestAddShoutScript extends ObjectReference  

int count

Event OnActivate(ObjectReference akActionRef)

Game.GetPlayer().AddShout(Dismay)
Debug.Trace("Dismay added to the player")
endEvent
Shout Property Dismay  Auto  

 

Note; I have this set as a script on the activator, if this is not where it belongs, please let me know and forgive me, it's my first attempt at anything in Creation Kit :rolleyes:

Link to comment
Share on other sites

  • Recently Browsing   0 members

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