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
Permanenly disabling a timer/pressure plate/e.t.c
Re: Permanenly disabling a timer/pressure plate/e.t.c
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)
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
Links to my YouTube playlist of "tutorials" and to my forum thread.
Re: Permanenly disabling a timer/pressure plate/e.t.c
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 ?
P.S~ does- itemID.thingtodeactivate:disable/enable()
work for pretty much everything ?