Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - strazer

#601
I asked EvilTypeGuy for an update, here's what he had to say:

Quote from: EvilTypeGuy (via pm)
Still working on it? Sigh. When I have time, which means I'm not really :(

Though I was working on releasing a new version in December with mpeg video playback support. I'm going to try to release binaries for 2.71 soon, and an updated one of 2.56 especially for King's Quest players.
#602
Glad I could help. :)
#603
No idea, it probably won't go lower than 0 and if it does, maybe it skips some frames. Try it out.
#604
You can change the talking animation speed for all talking views by setting the game.talkanim_speed variable:

Code: ags

  game.talkanim_speed = 0; // default is 5


in the game_start function, for example.

If you only need it for one talking view: Since you now know the default delay is 5 game loops, you could simply try setting each talking frame's delay to -5.
#605
General Discussion / Re: So long
Mon 20/02/2006 18:56:41
Wow, that was sudden! Gonna miss you. Take care and good luck with everything!
#606
What error?
Describe the problem.
#607
Quote
@S  // dialog startup entry point
@1  // option 1

If you don't put "return" at the end of the startup entry point, it runs the dialog script that follows (option 1) instead of showing the dialog options.
So for the second and third topic you also have to insert the "return" keyword after the startup entry point:

Code: ags

@S  // dialog startup entry point
return // show dialog options
@1  // option 1
#608
If at all, I think you can only import functions from modules placed before in the module manager. Same way you can't call functions from the global script in modules because modules are processed before the global script & header.
#609
You could do, for example (AGS v2.71 code):

Code: ags

  String thetext = String.Format("I can't pick up that %s!", Game.GetLocationName(mouse.x, mouse.y);
  player.Say(thetext);


Edit:

I think putting everything in one line would work as well:

Code: ags

  player.Say(String.Format("I can't pick up that %s!", Game.GetLocationName(mouse.x, mouse.y));


And thanks for the v2.70 code, Ashen.
#610
Yes, that's just the way it is. This ensures that games can be played at the lower resolution.
Just add another row of (empty) pixels to the object graphic if it doesn't fit.
#611
Don't the Monkey Island templates also contain the save/load screens?
#612
ProcessClick is a function that calls other functions, the mouse click event of a hotspot, for example. So the faulty script is actually there in the mouse click event of the hotspot you clicked.

What do you do when this message appears? Looking at a hotspot? Interacting with an object? We need the script or interaction editor action from that event.

Quote
in Global Script (line 44)

Error: DisplayMessage: Invalid message number to display

So just as the message states, you're probably just using the wrong message number.
Remember, messages 0-499 are room messages and they belong only to the room you define them for. If you go to another room, these messages are not available anymore, hence the error message.
If you want to display a message regardless of what room you're in, use global messages (500-999 I think, check manual).
#613
It's down at the moment. It will be back up soon.
#614
Yes, you can use the GetGameParameter function to get an Object.Graphic's width and height.
#615
Scummbuddy, he wrote "Global Script Error: message 44".

zerocell, do as I said and post the script around line 44 from the global script here.
#616
Hm, yeah, that's because it uses an overlay and those are covered up by GUIs. But looking at the module's script (menu "Script" -> "Module manager...") should at least give you a few hints.

As for your GUI approach, please post the complete rep_ex script you're using.
#617
What's your GUI's width?

And are you sure you've used the latest version (1.12) of the OverHot module? I have clarified the announcement post a bit.
#618
Code: ags

  if ((YourGUI.Y + YourGUI.Height) > system.viewport_height)
    YourGUI.Y = system.viewport_height - YourGUI.Height;

  if ((YourGUI.X + YourGUI.Width) > system.viewport_width)
    YourGUI.X = system.viewport_width - YourGUI.Width;


Have you tried the OverHot module?
#619
Just add some code to place the GUI at the mouse coordinates, it's not that hard:

Code: ags

  overhotspot.OwningGUI.SetPosition(mouse.x, mouse.y);


Make sure to remove the "Clickable" checkbox from the GUI so it doesn't interfere with mouse clicks.

You can also try the OverHot module: http://www.adventuregamestudio.co.uk/yabb/index.php?topic=23328.0
#620
Please post the entire error message.
44 probably refers to the script line in your global script that causes the error. So go in there (menu "Script" -> "Edit global script...") and post some of your code in a reply here that has to do with, and around line 44.
SMF spam blocked by CleanTalk