Page 1 of 1

Just a tinybit of help...

Posted: Thu Sep 01, 2005 2:57 am
by Kiko
ok, I did a triggered door.


You go to the basement and click the switch (the trigger is there)
it opens the door, yay!!!

well I want it to post to the user, not everybody, but to the user that the door is now open!

trigger: target/door1
door: targetname/door1

There is no scripting, but I have a feeling there will be, if you help me I will leave credit on this map, probably not the next, but this map ;)


===========Oh, and I'm sorry for asking so many questions lately===========

Posted: Thu Sep 01, 2005 4:09 pm
by Axion
Give the trigger a key/value of:

message/ The door is now open!

Posted: Thu Sep 01, 2005 5:41 pm
by Kiko
I don't know how, as why I asked for help...

Re: Just a tinybit of help...

Posted: Thu Sep 01, 2005 5:51 pm
by Axion
Ok, on your trigger, you already have assigned it a key/value of target/door1. To give it another key/value, just select your trigger and hit n to bring up the entity dialogue box. From there, just type in a new key/value of message/The door is now open!

Keep in mind that this message will play for the user everytime they use the trigger. Does your switch lock and unlock the door? If so, you will probably want to use a different method that can display two different messages that would state whether the door is locked/unlocked.

Posted: Thu Sep 01, 2005 6:00 pm
by Axion
Image

Posted: Thu Sep 01, 2005 9:51 pm
by Kiko
ahh, it was actually opening the door, but I guess I will redo it so that it unlocks and locks the door...

Posted: Fri Sep 02, 2005 3:48 am
by Axion
Tltrude has a good tutorial map that shows you how to script lockable doors.

http://pages.sbcglobal.net/tltrude/Temp ... e_test.zip

Posted: Fri Sep 02, 2005 4:12 am
by Kiko
cool!

I'm gonna try it, I'll let you lads know how it works out!