Is it possible to do Aura effects?

Started by jecrell, September 17, 2016, 01:08:16 AM

Previous topic - Next topic

jecrell

Hello there! Currently I'm considering the possibilities for the Call of Cthulhu mod. I have plenty of workarounds in mind, but I was wondering...

Is it possible to create an aura effect around a pawn? For instance, let's say I want a monster to appear on the map. The monster approaches another pawn. When the pawn is within so many meters of the monster, I want the pawn to suffer a mood penalty.

Is this possible? If so, how can I go about doing this? Are there examples out there?

Thanks so much for your time.
...Psst. Still there? If you'd like to support
me and my works, do check out my Patreon.
Someday, I could work for RimWorld full time!

https://www.patreon.com/jecrell

Shinzy

well some of the moodlets like "saw a corpse" and such seem to be distance related
there's probably something helpful codewise you could snoop into