Community Forum

Hook to catch animal selling

Forum Overview >> Scripting

CategoryScripting
Created28.11.2022 09:38


Dirk Hameier (DirkH42) 28.11.2022 09:38
Hi,
I'm searching for a hook to catch information when a player sells any animal.
The player can use two ways to sell his animals:
- direct per animal dialog with fees
- with an animal trailer to transport the animals to the dealer

For example, for other fill types, I have overwritten the function "SellingStation.addFillLevelFromTool"
(Utils.overwrittenFunction(SellingStation.addFillLevelFromTool, ...))

Any ideas?

Many thanks,
Dirk

Peter Farmer (zippyo) 28.11.2022 15:32
AnimalSellEvent

AnimalUnloadEvent

could be the ones u are after


Note: Log in to post. Create a new account here.