Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
Quick Reply
Search this Thread
Lab Assistant
Original Poster
#1 Old 9th Oct 2014 at 2:46 PM
Default Is it possible to get following one (target) sim to another going sim (actor) in Sims 3?
Hi.
Is it possible to get following one (target) sim to another going sim (actor)?
For example, if actor will move, then target sim must follow him.
Advertisement
1978 gallons of pancake batter
#2 Old 9th Oct 2014 at 6:40 PM
Depends on what you plan to do. If you want an interaction of two sims happen in a certain position, you need to use a Jig that extends SocialJig and place it in the right position. If you want to have two sims move in a certain way, or a sim follow another one for doing something, you need a master interaction for the leading sim and and a slave interaction for the follower. You can extend the latter by having a "manager" interaction that keeps pushing the actual interaction(s) as continuation.

If gotcha is all you’ve got, then you’ve got nothing. - Paul Krugman
Lab Assistant
Original Poster
#3 Old 10th Oct 2014 at 7:47 AM
OK. Thank you.
But may be have something like

Code:
            if (!base.Actor.RouteTo_FOLLOWING_ObjectRadialRange(base.Target, 0, 5))
            {
                return false;
            }


?
1978 gallons of pancake batter
#4 Old 10th Oct 2014 at 8:33 AM
That's not how the routing works. A route has a fixed target. To implement the impression of a sim following a moving target, you'll have to continously route the sim. Like leader object is at point A, route follower sim to point A. When follower sim reaches point A, the leader object will be at point B already. So route the follower to point B now. And so on and so on.

What there is, is grouping of course. The thing you can use in the game too. It works basically the same, just that the game's core scripts do it for you.

If gotcha is all you’ve got, then you’ve got nothing. - Paul Krugman
Back to top