[Modding] Run function upon events?

Discussion about Mods for Prison Architect

Moderator: NBJeff

PeaceDealer
level0
Posts: 4
Joined: Thu Feb 05, 2015 12:28 am

[Modding] Run function upon events?

Postby PeaceDealer » Sun Aug 16, 2015 8:46 pm

Is it possible to execute a LUA function upon an in-game event, such as contraband being found/confiscated?
User avatar
aubergine18
level2
level2
Posts: 231
Joined: Sun Jul 05, 2015 3:24 pm

Re: [Modding] Run function upon events?

Postby aubergine18 » Mon Aug 17, 2015 1:12 am

Not currently. The only events provided are Update() and Create(). It would certainly be nice if there were more events, and also some sort of new script type that doesn't need to be associated with an object, grant or scenario.

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 2 guests