BrotherBob Posted July 28, 2013 Posted July 28, 2013 What would I have to do to be able to add a spell to the player after they initiate a certain line of dialogue with an NPC? I tried creating a quest and adding a line of dialogue to a certain NPC. I tried to add a script fragment that would run when the dialogue line begins that adds the spell to the player:Spell Property MySpell = MySpell autoGame.GetPlayer().AddSpell(MySpell)But, it won't compile, saying "No viable alternative at input 'Spell'".
Pevey Posted July 28, 2013 Posted July 28, 2013 Try adding the property through the properties tab, not manually. This will ensure it goes in the right place for a fragment.
Recommended Posts