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!
Scholar
Original Poster
#1 Old 2nd Mar 2018 at 7:17 PM
Default How to check if Sim is not in lot.
Ok so I didn't know this before but Sims in Sims 3 don't die when they're not in a lot. And so my Vampire mod makes Sims burn if they stay under the sun for too long. But since sims can't die outside a lot they just stay burning I want to add a condition in the moodlet timeout function for the heating up moodlet to not add the onfire moodlet when a sim is not in a lot. How do I do that? I tried !(actor.LotCurrent==null) but it didn't work Does anyone know how to do this?
I'm going to try actor.MyLotCurrent==null now.
Advertisement
Virtual gardener
staff: administrator
#2 Old 2nd Mar 2018 at 11:08 PM
Hrm... I know there are a few 'terrain' actor codes, maybe those are worth checking out?
Scholar
Original Poster
#3 Old 3rd Mar 2018 at 12:13 PM
I got a suggestion from nraas and it worked
This is what I used actor.LotCurrent.IsWorldLot
Virtual gardener
staff: administrator
#4 Old 3rd Mar 2018 at 8:49 PM
Lol I was actually fiddling around with that code myself for something I"m working on... Glad you got it working though!
Back to top