April 26, 2024, 03:22:06 PM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
IRC channel - server:
waelisch.de
channel:
#wme
(
read more
)
Home
Help
Search
Calendar
Login
Register
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Left Click while talking
« previous
next »
Pages: [
1
]
Print
Author
Topic: Left Click while talking (Read 3613 times)
0 Members and 1 Guest are viewing this topic.
hubertMichael
Regular poster
Karma: 3
Offline
Posts: 155
Left Click while talking
«
on:
February 25, 2013, 12:57:10 AM »
Hi
There is functionality that when I will click left mouse button while my charactes are talking, game engine automaticly skip this dialogue line and starts another. That is cool feature but I need to turn off this functionality. How can I do this?
Logged
Shadow Of Nebula fan page:
https://www.facebook.com/shadowofnebula
ciberspace
Regular poster
Karma: 1
Offline
Gender:
Posts: 116
Re: Left Click while talking
«
Reply #1 on:
February 25, 2013, 09:58:23 AM »
not the best option, you can try:
in
game.script
if(ActObj!=null)
change for
if(ActObj!=null && actor.IsTalking()==false)
Logged
Personal site:
https://ciberspacedesigner.wordpress.com/juegos/
Personal site:
http://ciberspacedesigner.wordpress.com/
eborr
Regular poster
Karma: 4
Offline
Posts: 196
Re: Left Click while talking
«
Reply #2 on:
February 25, 2013, 01:04:10 PM »
2 other things you might want to consider
1 talk skipping only works when the Game.Interactive is set to false,
2 the other possibility is to create a new "Talk" method for the actor, which will then overide the one in the game, and you just then invoke those elements ot "Talk" that you wish to work
Logged
hubertMichael
Regular poster
Karma: 3
Offline
Posts: 155
Re: Left Click while talking
«
Reply #3 on:
February 25, 2013, 10:49:33 PM »
Thanks for the advices
Logged
Shadow Of Nebula fan page:
https://www.facebook.com/shadowofnebula
hubertMichael
Regular poster
Karma: 3
Offline
Posts: 155
Re: Left Click while talking
«
Reply #4 on:
February 26, 2013, 01:18:01 AM »
it doesn't work
Logged
Shadow Of Nebula fan page:
https://www.facebook.com/shadowofnebula
hubertMichael
Regular poster
Karma: 3
Offline
Posts: 155
Re: Left Click while talking
«
Reply #5 on:
February 26, 2013, 01:40:33 AM »
Fixed
Game.TalkSkipButton
"Specifies which mouse button is used to skip talk lines (0-left button, 1-right button, 2-both buttons, 3-skipping is disabled)"
That is what I was looking for
Logged
Shadow Of Nebula fan page:
https://www.facebook.com/shadowofnebula
Print
Pages: [
1
]
« previous
next »
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Left Click while talking