Advertisement
Guest User

Untitled

a guest
Apr 15th, 2017
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. ;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
  2. ;NEXT FRAGMENT INDEX 1
  3. ScriptName AddSpellToSpeakerScript Extends TopicInfo Hidden
  4.  
  5. ;BEGIN FRAGMENT Fragment_0
  6. Function Fragment_0(ObjectReference akSpeakerRef)
  7. Actor akSpeaker = akSpeakerRef as Actor
  8. ;BEGIN CODE
  9. If akSpeaker.IsInFaction(CurrentFollowerFaction) == True
  10. akSpeaker.AddSpell(LightningBolt)
  11. EndIf
  12. ;END CODE
  13. EndFunction
  14. ;END FRAGMENT
  15.  
  16. ;END FRAGMENT CODE - Do not edit anything between this and the begin comment
  17.  
  18. Faction Property CurrentFollowerFaction Auto
  19. Spell Property LightningBolt Auto
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement