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 - Draft

#1
 ???

I recently downloaded the CustomDialogGui module from Abstauber and I cannot find the solution for this problem.

I have searched everywhere I can think of, trying every keyword and resource I can find, including the posts in Abstauber's thread. I have tried attempting to correct it by defining it as a function, as a global GUI* variable and as a seperate function that calls the module script. I am completely stuck with this one.

What I am getting is an error message saying that 'CustomDialogGui' does not contain a function for init

Here is the secton of code being flagged


function CustomDialogGui::init() {
 
 // whether it's a text or an icon based GUI
 // valid values are: eTextMode and eIconMode
 this.gui_type      = eTextMode;
 // Top-Left corner of the Dialog GUI
 this.gui_xpos        = 20;
 this.gui_ypos        = 20;
 this.gui_stays_centered_x = false;
 this.gui_stays_centered_y = false;

I have also tried moving the bracket to its standard position and deleting the ::init but these do not work either.

Also, I have read the Wiki page on Text Window - Customized but it is not very clear on the path to use as far as can I create the pieces in Paint, what file type or where would I import them to ??? within AGS in order to use them as a GUI. It says to assign each image to a gui button and presto but the only GUI window I can open in the editor does not have any of these options.

Is there a proper set of instructions for doing this that I have missed as all I really want to do for the moment is create a custom design for the border and change the background color for the default text box. I have copies of the large Abstauber script and can work on figuring it out seperately for now. Either way any advice would be a huge help. ???
#2
I want to say that I think this is a very well designed editor for those with an idea but no coding experience. It includes options for the writer that have been overlooked or over complicated by creators of similar programs. With that said I have come across one question and with hundreds of posts and no search bar that I can find I decided to create this post.

I want to add music to my game and I definetly want to use the Save Load Enabled option but neither of these appear in my room properties list (I am viewing this from nothing). Instead I have Background Animation Delay and Legacy Music Volume Adjust under settings.

How do I find these two options and put them to use. As for music I suspect I will have to store the files and then upload to the editor but where in the editor.

I have not read all of the resources available yet, I am going through them one by one. I did notice that I can't set a Walk To co-ordinate for interacting with an object in the same way as Hotspots so I added this to the beginning of the _Interact function in script

function opickaxe_Interact()
={
   player.WalkTo(x307, y307);
   opickaxe.Visible = false;
   player.AddInventory(ipickaxe);
   Display("You find a pickaxe forgotten by the cemetery's groundskeeper.");
   GiveScore(10);
  }

This made more sense than having two scripts (the other being Look At) that esentially say the same thing and having a Hotspot laid over the object. What do you all think and is this the simplest way to do it.
SMF spam blocked by CleanTalk