!Help me Please!
#1

Can someone tell me that how can I use a button as a triggering element.
eg. I want to make a moving door/lift, which will be on/off by a button(pressing anykey) and with some
predefined object ids(keypads).

I know how to make moving door/lift by using /command function but don't know how to trigger them by
pressing any key,such as pressing "F" key.
Please! tell me how can i do this using key function.
Reply
#2

Use OnPlayerKeyStateChange.
But you can't do it with ANY key, you can only use predefined keys.
Reply
#3

What ryder said, and if it s for a Door or elevator, Use IsPlayerinarea, so it wont open anytime someone pressed the button.
Reply
#4

Thanks for your help.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)