I am trying to do a mod that deploys logic circuits and door timers, but am not able to configure the Door timer, nor the logic circuit:
From a saved game, I saw that Time4 must be set to true to activate door timer at 4.
So I tried the following without success (the property is not applied nor saved):
Code: Select all
local door_timer = Object.Spawn("DoorTimer", x, y)
Object.SetProperty(door_timer, "Time4", true)
door_timer.Time2 = true
It is the same with logic circuits, when I want to set "Operation".
1) Is it possible in the current alpha 31 ? If yes, how can I do this ?
2) How can I connect the DoorTimer to a LogicCircuit ? Must I set a property, or is there a method available ?
Thanks in advance


