Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
- ;NEXT FRAGMENT INDEX 1
- ScriptName AddSpellToSpeakerScript Extends TopicInfo Hidden
- ;BEGIN FRAGMENT Fragment_0
- Function Fragment_0(ObjectReference akSpeakerRef)
- Actor akSpeaker = akSpeakerRef as Actor
- ;BEGIN CODE
- If akSpeaker.IsInFaction(CurrentFollowerFaction) == True
- akSpeaker.AddSpell(LightningBolt)
- EndIf
- ;END CODE
- EndFunction
- ;END FRAGMENT
- ;END FRAGMENT CODE - Do not edit anything between this and the begin comment
- Faction Property CurrentFollowerFaction Auto
- Spell Property LightningBolt Auto
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement