Quick Reply
Search this Thread
Test Subject
Original Poster
#1 Old 6th Sep 2023 at 9:47 PM
Default Sub Pie Menu populated by sim names
Hi all, back again lol...
Basically I'm trying to do this in SimPE Bookcase > View Memories... > (Bunch of sim names)
Bunch of sim names being names of all the sims in the family tree that the current selected sim is related to. (just parents, siblings, grandparents)

So I did some research about sub pie menus and I know about doing like View Memories.../Sim, but the issue is they're pre-set by default, when I think my needs are that they're supposed to be populated at run time rather than set by default like the tutorials if that makes sense? As the names will depend on the current sim. I can't find any info about doing this.

Thanks all, I'm probably talking in the wilderness out here
Advertisement
just a girl
#2 Old 7th Sep 2023 at 7:05 PM
Hi! You need to write a function that will find the sims you want and pass their neighbor IDs to "make action" primitive.

The action text could look something like this: View Memories.../$Neighbor or View Memories.../$FullNameLocal:0 (see String Substitutions: https://modthesims.info/wiki.php?ti...20Substitutions)

Look into something like SimBlender, you'll see how it's done.
Lab Assistant
#3 Old 9th Sep 2023 at 9:21 PM
You're looking for this primitive: https://modthesims.info/wiki.php?title=0x0032

If we're talking about adding pie menu items dynamically to an object then I think the primitive could be added to the guardian BHAV in the TTAB. You will need to look in other mods with similar functionality to see how it's done.
Back to top