Quick Reply
Search this Thread
Deceased
Original Poster
#1 Old 19th Feb 2016 at 5:09 AM
Default ParticipantType Enum
The interactions.ParticipantType doesn't seem to be included in the unzipped .pyo files, so as Inge was asking a question that made me wonder if there was a relevant participant type, I used inspect on the imported ParticipantType enum in game and dumped the information. There's some neat stuff in here which I had no idea you could use in an XML tuning ParticipantType. Certainly many of these wouldn't be valid except in specific tests, but my guess they can be used as part of a do_command argument, which was the question Inge posted.

Not sure if this is defined as part of the EXE or if it's a dynamic enum that gets built somewhere along the way (perhaps even defined in the XML somewhere I've never seen). Anyway, as I'd never seen a definitive list, so I thought I'd post it for all:
Code:
ParticipantType enum:
  ParticipantType.Invalid
  ParticipantType.Actor
  ParticipantType.Object
  ParticipantType.TargetSim
  ParticipantType.Listeners
  ParticipantType.All
  ParticipantType.AllSims
  ParticipantType.Lot
  ParticipantType.CraftingProcess
  ParticipantType.JoinTarget
  ParticipantType.CarriedObject
  ParticipantType.Affordance
  ParticipantType.InteractionContext
  ParticipantType.CustomSim
  ParticipantType.AllRelationships
  ParticipantType.CraftingObject
  ParticipantType.ActorSurface
  ParticipantType.ObjectChildren
  ParticipantType.LotOwners
  ParticipantType.CreatedObject
  ParticipantType.PickedItemId
  ParticipantType.StoredSim
  ParticipantType.PickedObject
  ParticipantType.SocialGroup
  ParticipantType.OtherSimsInteractingWithTarget
  ParticipantType.PickedSim
  ParticipantType.ObjectParent
  ParticipantType.SignificantOtherActor
  ParticipantType.SignificantOtherTargetSim
  ParticipantType.OwnerSim
  ParticipantType.StoredSimOnActor
  ParticipantType.Unlockable
  ParticipantType.LiveDragActor
  ParticipantType.LiveDragTarget
  ParticipantType.PickedZoneId
  ParticipantType.SocialGroupSims
  ParticipantType.PregnancyPartnerActor
  ParticipantType.PregnancyPartnerTargetSim
  ParticipantType.SocialGroupAnchor
  ParticipantType.TargetSurface
  ParticipantType.ActiveHousehold
  ParticipantType.ActorPostureTarget
  ParticipantType.InventoryObjectStack
  ParticipantType.AllOtherInstancedSims
  ParticipantType.CareerEventSim
  ParticipantType.StoredSimOnPickedObject
  ParticipantType.SavedActor1
  ParticipantType.SavedActor2
  ParticipantType.SavedActor3
  ParticipantType.SavedActor4
  ParticipantType.LotOwnerSingleAndInstanced
  ParticipantType.LinkedPostureSim
  ParticipantType.AssociatedClub
  ParticipantType.AssociatedClubMembers
  ParticipantType.AssociatedClubLeader
  ParticipantType.AssociatedClubGatheringMembers
  ParticipantType.ActorEnsemble
  ParticipantType.TargetEnsemble
  ParticipantType.TargetSimPostureTarget
  ParticipantType.ActorEnsembleSansActor
One horse disagreer of the Apocalypse
#2 Old 19th Feb 2016 at 8:26 AM
Is it ok if we discuss participants in general in this thread? Does "participant" refer to the instance of the object or sim the player clicked to make the menu come up?

"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
Deceased
Original Poster
#3 Old 19th Feb 2016 at 4:48 PM
Well, the short answer is that it depends on which participant type you specify. You can choose the "Object" type or the "TargetSim" type to make the choice you specifically inquired about.
Deceased
Original Poster
#4 Old 19th Feb 2016 at 4:54 PM
Quote: Originally posted by Inge Jones
Is it ok if we discuss participants in general in this thread?

I assume it's okay - but if not a moderator can move this from Resources to Modding Discussion. Might get more visibility there which could be good as I'm seeing some things I never really knew were possible in the XML now that I see all of these valid participant types. The only one's I'd really noticed previously from looking at the XML were Actor, Object and TargetSim.
Pettifogging Legalist!
retired moderator
#5 Old 19th Feb 2016 at 5:47 PM
That's not the only ones that are in use though -- ObjectChildren for instance is used for harvesting ( = the actual harvestables that sit in the slots of the parent object); CarryObject and CraftingObject for crafting, ActorSurface or TaegetSurface I think I've also seen in that context (kitchen counters when crafting a food recipe, I believe?), PickedSim would be the sim that a sim is calling on the phone etc.

Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.

In the kingdom of the blind, do as the Romans do.
Back to top