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

Topics - Fekix

#1
Hello,

i'm wondering how the On Click Function for GUIs works. I didn't find a documentation in the Help file for this Option.
I figured out that there are two Integers which will be passed to the Function but I don't know what they do. One is possible for the Mouse Button clicked on the GUI but the second??

Maybe you can help meÃ,  ;)

Thanks
Felix

P.S.

To make it more understandable:

function gGUIName_Click(int Integer1, int Integer2) {
Ã,  //some code here
}

This function works fine but I have to give the Function the 2 Integers (Integer1 and Integer2 in this example) otherwise AGS will throw an Error when clicking the GUI
#2
I can set walk to points for hotspots but i can't set this for objects (and for characters). I really need this because my character moves to the GetHotspotpointX and Y and GetObjectX and Y but for the Object i can't set the point :(
#3
In my game, the player can set the Textspeed with "+" and "-" keys like in Lucas Arts Games. My Problem is that the player can't set the textspeed while a message is displayed with DisplaySpeech. I tried a solution with IsKeyPressed in repeatedly_execute_always but it didn't work :(

Does anyone know a solution for my problem?
#4
Everytime a player do a left click my game calls the MoveCharacter command and my character begins to move. While my Character is moving and I click to a new (or the same position) the game calls a StopMoving command before he begins to Move to the new coordinates. The result is that the character "stutters" when repeadly clicking on the left mouse button to move the character and when I play a Adventure i do often click my left mouse button  ;D

Is there a way to Move the character to new coordinates while he is moving WITHOUT StopMoving him?
#5
I've downloaded Beta 2 and i've noticed that sometime the game hang up when clicking on a gui (not on a button or label or something like this, i mean clicking in a blank gui area). I opened the console and noticed that the last commands before hanging up are:

Mouseclick over GUI X
Character X start moving (x,y)

I don't know if this error appears before beta 2 or if there is a problem with my script. Can someone try by clicking several times in a gui in his game?
#6
Advanced Technical Forum / mouseclick in gui
Sun 07/03/2004 17:31:14
If i press and hold my right mouse button an actionmenu pop-ups where i can choose different interactions. However íf i right click over a GUI it don't pop up. I need this for my Inventory GUI. Does anyone know how to recognize the right click over a GUI to pop up a new GUI?
#7
I want to use the new function which allows to save the screenshot in savegames. It works fine but the screenshot shows my custom SaveGUI always on but my script turns off the SaveGUI while saving. If I load the savegame the SaveGUI is also OFF so i guess there's no problem with turning off the SaveGUI. To which time exactly is the screenshot taken when saving a game?
SMF spam blocked by CleanTalk