Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: Left Click while talking  (Read 3611 times)

0 Members and 1 Guest are viewing this topic.

hubertMichael

  • Regular poster
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 155
    • View Profile
    • Shadow Of Nebula - our point'n click adventure game
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 Offline
  • Gender: Male
  • Posts: 116
    • View Profile
    • Tele Juego
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)

eborr

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 196
    • View Profile
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 Offline
  • Posts: 155
    • View Profile
    • Shadow Of Nebula - our point'n click adventure game
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 Offline
  • Posts: 155
    • View Profile
    • Shadow Of Nebula - our point'n click adventure game
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 Offline
  • Posts: 155
    • View Profile
    • Shadow Of Nebula - our point'n click adventure game
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
 

Page created in 0.045 seconds with 24 queries.