I know I had this issue, and others may have done, with deleting pressure plates.
If you use try to delete the plate as you stand on it by connecting it to a script_entitiy with the following code, the game will crash:-
Code: Select all
function delete()
-- other stuff you want to occur here.
pressure_plate_hidden_1:destroy()
end
To overcome this problem, connect the plate to a timer with a 0.1 second delay, and then connect the timer to the script to delete it. Also add a connector to the timer to 'deactivate' itself.
Job's a goodun
