Delinquent
Member
I'm trying to make a horse that when it is tamed, it will clear the Owner list and also become Untamed again so it can be re-tamed.
Currently Inside the Animaltaming.cs file I have added m_Creature.Owners.Clear(); to the animal once the tame was successful, which does appear to work. Because one the Animal is tamed I can look at its props and it shows the Last Owner as Null. But in the same section of AnimalTaming.cs I added m_Creature.Controlled = false; and also tried m_Creature.Controlled.isNull(); but none of this appears to work. The animal will stay tamed.
I'm just looking for anything else I should look at, or if I need to add something to the animals cs file.
Any Guidance would be awesome.
I also added a Bool Flag in the BaseCreatures section just to tell if the animal should untame itself or not.
I was unable to find anything like this one the forums except a script called TamersLittleHelper or something, which doesn't really do the same thing that i'm trying to accomplish.
This is a ServUO server. Not RunUO
Thanks again,
Delinquent
Currently Inside the Animaltaming.cs file I have added m_Creature.Owners.Clear(); to the animal once the tame was successful, which does appear to work. Because one the Animal is tamed I can look at its props and it shows the Last Owner as Null. But in the same section of AnimalTaming.cs I added m_Creature.Controlled = false; and also tried m_Creature.Controlled.isNull(); but none of this appears to work. The animal will stay tamed.
I'm just looking for anything else I should look at, or if I need to add something to the animals cs file.
Any Guidance would be awesome.
I also added a Bool Flag in the BaseCreatures section just to tell if the animal should untame itself or not.
I was unable to find anything like this one the forums except a script called TamersLittleHelper or something, which doesn't really do the same thing that i'm trying to accomplish.
This is a ServUO server. Not RunUO
Thanks again,
Delinquent