Scriptname PCKP_Script_SetDwarvenTeammateTemper extends activemagiceffectActor Property PlayerREF autoQuest Property TemperFollower autoEvent oneffectstart(Actor T, Actor C);PlayerREF.KillSilent(); T.SetPlayerTeammate()(TemperFollower as DialogueFollowerScript).SetAnimal(T)endEvent
I used the KillSilent line to verify that the event was firing, and it certainly is. Neither of the other two lines seem to work though, he simply won't be my little draugr buddy. (The draugr is an edited enemy I made, and to whom I have added the ActorTypeDwarven keyword. He does some other fun stuff, like this
event OnDeath(Actor akKiller) self.PlaceActorAtMe(self.GetActorBase())endEvent
which makes for convenient test dummies.)
EDIT: Adding the following:
if T.IsPlayerTeammate() PlayerREF.KillSilent()endIf
kills me. So...the function is sort of working, but he's just not acting very nice.