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: Game.activity = false is not enough  (Read 3710 times)

0 Members and 1 Guest are viewing this topic.

Amo

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 206
    • View Profile
    • Sunrise The Game
Game.activity = false is not enough
« on: August 19, 2006, 05:16:33 PM »

Hi there, we set the game activity to false during monologues. That works actually in that way, that the cursor changes and the player cannot set any new target position, but that is not enough, because the user can still click around, abort the monologue and do what he wants. How can we set the game to a "full inactivity" I mean, no cursor, no keyboard entries, like an ingame cutscene?

Thanks for upcoming replies

Mac

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 136
    • View Profile
    • Homepage
Re: Game.activity = false is not enough
« Reply #1 on: August 19, 2006, 07:09:18 PM »

Hi Amo,

Use this for cutscene like things use this in a script:
Code: [Select]
Game.Interactive=false;
but don't forget to insert
Code: [Select]
Game.Interactive=true;
after your monologue. Otherwise the user wouldn't be able to click things afterwards.

Mac
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Game.activity = false is not enough
« Reply #2 on: August 20, 2006, 08:59:29 AM »

Yes, the idea is to enclose the entire non-interactive scene between

Game.Interactive = false;

... some code here

Game.Interactive = true;


Why would you want to prevent the player from skipping the talk lines?
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Re: Game.activity = false is not enough
« Reply #3 on: August 20, 2006, 01:01:23 PM »

because sometimes the voice is timed to the music. That's exactly the reason why I needed

Game.TalkSkipButton = 3;

But I believe it's in the more_than_latest build only?

Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Game.activity = false is not enough
« Reply #4 on: August 20, 2006, 01:11:52 PM »

because sometimes the voice is timed to the music. That's exactly the reason why I needed

Game.TalkSkipButton = 3;

But I believe it's in the more_than_latest build only?
Well, yes. But I don't think that's Amo's case.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Amo

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 206
    • View Profile
    • Sunrise The Game
Re: Game.activity = false is not enough
« Reply #5 on: August 20, 2006, 01:41:53 PM »


Game.Interactive = false;

... some code here

Game.Interactive = true;


Sorry, that does not work, it is still possible to interrupt the monologue with a left click.

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Game.activity = false is not enough
« Reply #6 on: August 20, 2006, 02:52:19 PM »

As meta mentioned, it will be possible to programatically set which mouse buttons can be used to skip talk sentences, including "none" of the buttons, so you can temporarily disable the skipping altogether. This "Game.TalkSkipButton" attribute will be available in the next WME release.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Amo

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 206
    • View Profile
    • Sunrise The Game
Re: Game.activity = false is not enough
« Reply #7 on: August 20, 2006, 03:19:13 PM »

Ok, so we will wait and include it then.
 

Page created in 0.03 seconds with 19 queries.