lua part of wired objects?

Discussion about Mods for Prison Architect

Moderator: NBJeff

khm
level0
Posts: 5
Joined: Thu Oct 04, 2012 11:45 am

lua part of wired objects?

Postby khm » Fri Sep 12, 2014 2:21 am

i would like to make a some wired objects and would like to know how to send and receive signals in lua.
User avatar
knoest26
level5
level5
Posts: 1380
Joined: Thu Jul 11, 2013 6:55 pm
Location: The Netherlands
Contact:

Re: lua part of wired objects?

Postby knoest26 » Fri Sep 12, 2014 12:22 pm

I believe there is a property called wired but I don't think you can code an action for it
mazetar
level2
level2
Posts: 141
Joined: Mon Feb 11, 2013 12:14 am

Re: lua part of wired objects?

Postby mazetar » Fri Sep 12, 2014 2:48 pm

Yeah there's such a property which I believe makes it able to connect to circuits/wires but not decide what it will do upon getting wired input.
One would need to play around with the system and see if there's a flag getting set for the connected wire being ON or something.
Might be that we have to wait for A25 x)

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 1 guest