Can someone please let me know why I can't seem to summon a follower from a formlist? The summon works fine on a follower, but not when the follower is in the formlist. Thanks.
Scriptname SummonTest extends activemagiceffect
Actor Property PlayerREF Auto;
Actor Property ActorToSummon Auto;
FormList Property ActorsToSummon Auto;
Function OnEffectStart(Actor akTarget, Actor akCaster)
Int i = 1
float az = PlayerRef.GetAngleZ()
Actor ActorToSummon2 = ActorsToSummon.GetAt(i) As Actor
ActorToSummon2.SetAngle(0.0,0.0,az + 180.0)
ActorToSummon2.MoveTo(PlayerREF, 200 * Math.sin(az), 200 * Math.cos(az), 0.0, false)
ActorToSummon.SetAngle(0.0,0.0,az + 180.0)
ActorToSummon.MoveTo(PlayerREF, 200 * Math.sin(az), 200 * Math.cos(az), 0.0, false)
EndFunction
The ActorsToSummon has these values 0 REFR HousecarlWhiterunRef 1 REFR HousecarlSolitude 2 REFR HousecarlRiften