Ludeon Forums

RimWorld => Mods => Help => Topic started by: PunkyRoo on January 16, 2022, 08:14:00 PM

Title: How to Trigger Events (Pawns triggering)
Post by: PunkyRoo on January 16, 2022, 08:14:00 PM
Howdy!

I'm working on a new mod that will allow pawns to trigger events... but I'm not sure how to implement.  If anyone can answer the follow questions, that would be great:

1) Can you trigger events via XML alone, or will it require some C# code work?
2) Can you trigger specific events?  Can you trigger general Positive, Neutral, Negative events?
3) Can anyone point me in the direction of how to write custom events?
4) Can anyone give me direction on the best way for a pawn to interact with a building and that triggers an event?

Thanks all!   I've created six mods already and looking to up my game!  :)