mekia02
22nd Jan 2012, 11:46 AM
How do I add a pre-existing moodlet to an action?
ani_
22nd Jan 2012, 04:59 PM
How do I add a pre-existing moodlet to an action?
sim.BuffManager.AddElement(BuffNames.Adventuring, Origin.FromLeftovers);
There are a few overrides for this, you can determine how long the moodlet stays, of what is it's value on the mood. There are moodlets that you can't add to a Sim if they don't have the correct trait and some buff names an origins don't seem to mix. But you'll have to experiment to see.
vBulletin v3.0.14, Copyright ©2000-2013, Jelsoft Enterprises Ltd.