Greetings to all.
I am trying to get an actorbase object killed as soon as a dialogue coversation is over.
The functions kill() are found in the Actor script.
I have tried many attempt to get this done, but I cant get the code to excecute in the Papyrus fragment in the dialogue section of a quest,
Can someone please help me?
This is the code fragment
ObjectReference Property Acto Auto
ObjectReference Property archoo Auto
Actor Property archiss Auto
ActorBase Property uni Auto
;BEGIN FRAGMENT Fragment_1
Function Fragment_1(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE
; archoo.Disable()
; archoo.Delete()
;archiss.kill()
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
I just want an actor to die by himself when the dialogue is finish. That is all.