Search found 6 matches

by DrTeflon
Thu Sep 13, 2012 2:41 am
Forum: Modding
Topic: Pressure Plates question
Replies: 10
Views: 10986

Re: Pressure Plates question

Komag wrote:You can read some ideas relating to this in this thread:
viewtopic.php?f=14&t=3032
That wasnt exactly my idea but I decided to switch the puzzle a little bit so now its working

Thanks everyone!
by DrTeflon
Thu Sep 13, 2012 12:39 am
Forum: Modding
Topic: Pressure Plates question
Replies: 10
Views: 10986

Re: Pressure Plates question

Lmaoboat wrote:I don't think you need a script for this one, thought it's probably good to get practice.
I'm doing this a test and adding more pressure plates ;)
by DrTeflon
Wed Sep 12, 2012 11:26 pm
Forum: Modding
Topic: Pressure Plates question
Replies: 10
Views: 10986

Re: Pressure Plates question

Hmm, I wonder what I'm doing wrong ---opendoor function open() if counter_1:getValue() == "1" then door_2:open() end end I targeted a pressure plate to increment the counter value to one but still doesnt work Try removing the quotation marks around 1. Things inside quotes are strings (lik...
by DrTeflon
Wed Sep 12, 2012 11:12 pm
Forum: Modding
Topic: Pressure Plates question
Replies: 10
Views: 10986

Re: Pressure Plates question

Hmm, I wonder what I'm doing wrong

---opendoor
function open()
if counter_1:getValue() == "1" then
door_2:open()
end
end

I targeted a pressure plate to increment the counter value to one but still doesnt work
by DrTeflon
Wed Sep 12, 2012 10:52 pm
Forum: Modding
Topic: Pressure Plates question
Replies: 10
Views: 10986

Re: Pressure Plates question

Lmaoboat wrote:Well I'm also new, but I think you could set a counter with an initial value of 3 to open a door, then make it so the three specific pressure plates decease the counter by 1 when pressed, and increase when released.
Hmm, thanks, I'm gonna try that!
by DrTeflon
Wed Sep 12, 2012 10:33 pm
Forum: Modding
Topic: Pressure Plates question
Replies: 10
Views: 10986

Pressure Plates question

Hello everyone, I have a question regarding pressure plates. I was wondering if its possible to create a puzzle using several pressure plates. Something like there are 10 pressure plates in the room, if I place three items on specific pressure plates then the door opens. I looked through the scripti...