Game Development Community

Action key

by shijin · in General Discussion · 03/21/2009 (3:43 pm) · 5 replies

How can i add action key for open doors for talk with NPC's

#1
03/21/2009 (4:31 pm)
You'll want to look at the key bindings in the default.bind.cs script, and you can easily enough just do a copy and paste of one of the keybinds and insert your own function in there so that when you press that key, it does whatever function you call.
#2
03/21/2009 (5:42 pm)
tx for help dude
#3
03/27/2009 (1:52 pm)
but can you sent me a example?
#4
03/28/2009 (6:25 pm)
Use the Search function. There's plenty of info on the forums.
#5
03/29/2009 (1:22 pm)
Take a look at this resource, it sounds pretty much like what you want.
http://www.garagegames.com/community/resources/view/13640