Difference between revisions of "Person"
From SimsWiki
MogHughson (Talk | contribs) |
|||
(One intermediate revision by one user not shown) | |||
Line 3: | Line 3: | ||
It will cycle through all Sims (people not pets) that are on the current lot, returning the object ID representing that Sim. | It will cycle through all Sims (people not pets) that are on the current lot, returning the object ID representing that Sim. | ||
− | If you want to find all the Sims in the Neighborhood, you can use Set to Next (0x001F) [[neighbor id]] instead | + | If you want to find all the Sims in the Neighborhood, you can use Set to Next (0x001F) [[neighbor id]] instead. |
+ | |||
+ | ==Examples== | ||
+ | * [[BHAV:Build pie-menu|Building a pie-menu for objects found at run-time]] |
Latest revision as of 21:54, 16 August 2010
This is a flavour of the Set to Next (0x001F) primitive.
It will cycle through all Sims (people not pets) that are on the current lot, returning the object ID representing that Sim.
If you want to find all the Sims in the Neighborhood, you can use Set to Next (0x001F) neighbor id instead.