Page 1 of 1

Permanenly disabling a timer/pressure plate/e.t.c

Posted: Wed Oct 29, 2014 3:01 pm
by Karinas23
Is there some way to permanently disable a pressure plate ? i want it to open a door when an item is left on it but once you walk through the door i want another pressure plate to permanently break the first pressure plate so that the door will close behind you even though the item is still on the first pressure plate. Got no idea how to go about it.


Im really good at aesthetic design but mechanical stuff is beyond me lol

Re: Permanenly disabling a timer/pressure plate/e.t.c

Posted: Wed Oct 29, 2014 3:16 pm
by Prozail
You''ll need a small script that disables the floortrigger on the first plate.
do make a script_entity and put this function as a trigger on the second plate. (ofc. replace "dungeon_pressure_plate_1" with the id of the first plate)

Code: Select all

function disableplate()
    dungeon_pressure_plate_1.floortrigger:disable()
end

Re: Permanenly disabling a timer/pressure plate/e.t.c

Posted: Wed Oct 29, 2014 3:18 pm
by Karinas23
i thought it would be pretty much that but didnt know what i needed to write thank you very much

P.S~ does- itemID.thingtodeactivate:disable/enable()

work for pretty much everything ?