Skip to content

GetAnimalBehavior

An animal’s behaviour.

GetAnimalBehavior(id)
Parameter Type
id number the animal

string - "calm", "aggressive", "defensive" or "skittish"; "" for anything but an animal

if GetAnimalBehavior(wolf) == "calm" then SetAnimalBehavior(wolf, "aggressive") end

SetAnimalBehavior · the NPC actors group of the index