Rigmor Posted August 29, 2018 Share Posted August 29, 2018 I have a shout which works great, but I want the shout equipped on a quest start when the player picks up a ring.Here's the code I have now which adds the shout on init, which gives the shout as soon at the game starts.How can I make this happen only when the item is aquired (doesn't have to be worn) original code: Scriptname addrestorelife extends quest {Adds restorelife if one has learned one of the three words} Actor Property PlayerREF Auto Shout property RestorelifeShout auto WordOfPower Property Laas Auto WordOfPower Property Neh Auto WordOfPower Property Viir Auto Event OnInit() PlayerREF.EquipShout(RestorelifeShout) if ! playerREF.hasspell(RestorelifeShout) playerREF.addshout(RestorelifeShout) Game.TeachWord(Laas) Game.TeachWord(Neh) Game.TeachWord(Viir) Debug.Notification("Live or Die added") SetStage(20) endif endevent Thanks for any help Link to comment Share on other sites More sharing options...
greyday01 Posted August 30, 2018 Share Posted August 30, 2018 Try a script attached to the ring using an on container changed event. Link to comment Share on other sites More sharing options...
Rigmor Posted August 30, 2018 Author Share Posted August 30, 2018 Try a script attached to the ring using an on container changed event.Of course, add it to the ring...thanks greyday01 Link to comment Share on other sites More sharing options...
Recommended Posts