Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
OnBodySnatch

OnBodySnatch

Ratings: (0)|Views: 284|Likes:
Published by korerekon

More info:

Published by: korerekon on Jul 05, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as TXT, PDF, TXT or read online from Scribd
See more
See less

07/05/2010

pdf

text

original

 
private static int OnBodySnatch(object[] arguments){if ((arguments.Length != 0) && (Sim.ActiveActor != null)){SimDescription sDFromArguments = Core.GetSDFromArguments(arguments);if (sDFromArguments == null){SimpleMessageDialog.Show(GenericStrings.Fail.ToUpper(), "Couldn't find destination sim '" + arguments[0].ToString() + "'.");return 0;}if ((sDFromArguments.Gender != Sim.ActiveActor.SimDescription.Gender) ((sDFromArguments.Age != Sim.ActiveActor.SimDescription.Age) && (!Sim.ActiveActor.SimDescription.Elder  !sDFromArguments.Adult))){SimpleMessageDialog.Show(GenericStrings.Fail.ToUpper(), "Source simmust be same age & sex as selected sim!");return 0;}try{Sim.ActiveActor.SimDescription.HairColors = sDFromArguments.HairColors;Sim.ActiveActor.SimDescription.EyebrowColor = sDFromArguments.EyebrowColor;Sim.ActiveActor.SimDescription.FacialHairColors = sDFromArguments.FacialHairColors;Sim.ActiveActor.SimDescription.BeardUsesHairColor = sDFromArguments.BeardUsesHairColor;Sim.ActiveActor.SimDescription.EyebrowsUseHairColor = sDFromArguments.EyebrowsUseHairColor;Sim.ActiveActor.SimDescription.PropagateHairStyle = sDFromArguments.PropagateHairStyle;Sim.ActiveActor.SimDescription.GeneticHairstyleKey = sDFromArguments.GeneticHairstyleKey;Sim.ActiveActor.SimDescription.SkinToneIndex = sDFromArguments.SkinToneIndex;Sim.ActiveActor.SimDescription.SkinToneKey = sDFromArguments.SkinToneKey;Sim.ActiveActor.SimDescription.mZodiac = sDFromArguments.mZodiac;Sim.ActiveActor.SimDescription.VoiceVariation = sDFromArguments.VoiceVariation;Sim.ActiveActor.SimDescription.VoicePitchModifier = sDFromArguments.VoicePitchModifier;OutfitCategoryMap mOutfits = Sim.ActiveActor.SimDescription.mOutfits;Sim.ActiveActor.SimDescription.mOutfits = sDFromArguments.mOutfits;sDFromArguments.mOutfits = mOutfits;OutfitCategories currentOutfitCategory = Sim.ActiveActor.CurrentOutfitCategory;Sim.ActiveActor.SimDescription.ForceSetBodyShape(sDFromArguments.Weight, sDFromArguments.Fitness);Sim.ActiveActor.SimDescription.RefreshBodyShape();Sim.ActiveActor.SwitchToOutfitWithoutSpin(1);Sim.ActiveActor.SwitchToOutfitWithoutSpin(2);Sim.ActiveActor.SwitchToOutfitWithoutSpin(currentOutfitCategory);if (sDFromArguments.Household != null){sDFromArguments.Household.Remove(sDFromArguments);}

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->