Still stay when talking. How to make it?

Talk about making games.

Still stay when talking. How to make it?

Postby Wertyboy » Fri Aug 20, 2010 3:35 pm

Hi!
How to make player still stay (can't move) when talking
I using this talking box
http://game-editor.com/forum/viewtopic.php?f=5&t=6828&p=48833&hilit=textbox#p48833
User avatar
Wertyboy
 
Posts: 543
Joined: Tue Jun 15, 2010 12:38 pm
Location: HCM City, Vietnam
Score: 44 Give a positive score

Re: Still stay when talking. How to make it?

Postby lcl » Sat Aug 21, 2010 6:10 am

Edit the script that opens the window and do this:

Code: Select all
EventDisable("Player", EVENTKEYDOWN);
EventDisable("Player", EVENTKEYUP);


And the code that deactivates the window, use this:

Code: Select all
EventEnable("Player", EVENTALL);


:D Hope this works! :D
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Still stay when talking. How to make it?

Postby Wertyboy » Tue Aug 24, 2010 3:17 am

THX :D :D :D
User avatar
Wertyboy
 
Posts: 543
Joined: Tue Jun 15, 2010 12:38 pm
Location: HCM City, Vietnam
Score: 44 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest