#2
3rd Jan 2018 at 1:49 PM
The pet pie menus (cat & dogs have separate menus) don't check for social plugins, they use Learned Behaviour Commands instead.
The Learned Behaviour Commands can be made as an addon. They don't need or use a controller, instead the pie menus pick them up by their Selector Category (same as sims do when influencing another sim). There is three types of Learned Behaviour Commands
The Social - Pet - Base Command uses a Selector Category of 0x0095
The Social - Pet - Reinforced Command uses a Selector Category of 0x0097
The Social - Pet - Reinforced Social Command uses a Selector Category of 0x0098
The pie menu runs the BHAV 'CT - Command Menu TEST' for the test (instead of CT - Object Menu) then directly launches the social (no need for CT - Object Menu Command since there is no controller)
To make your own you'll need to clone and examine an existing Learned Behaviour. In the Object Data, in Raw Data scroll down to the Selector Category (0x004b), that determines the type, the next line Selector Sub-Category should contain a value that has not been used by that type, preferably next in sequence to what has been used.
This may seem a little complicated but it actually better and simpler than using a controller for every social plugin and it is the same method phones use to get all of the phone call types and sims use to influence other sims so it is worth learning.
Note: the pet Globals is group 0x7F67DD1B if you want to examine their menus