Scriptname aaUCPetRecruitScript extends ObjectReference  
{Allows player to recruit a pet}

DialogueFollowerScript Property DialogueFollower Auto
GlobalVariable Property PlayerAnimalCount Auto
;Actor property dog auto

auto state Waiting
event onActivate(objectReference AkActivator)
	;if player does not have an animal, make this animal player's animal
	If PlayerAnimalCount.GetValueInt() == 0
		(DialogueFollower as DialogueFollowerScript).SetAnimal(self)
	EndIF
endEvent
endState

state done
endstate
