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

#1
I'm such a newbie... lol

Thank you again! :)
#2
Okay... I just realized my mistake and now it works perfectly. Just in case this is useful for someone:

I do NOT have 41 objects in my room, I have 3... Silly me, I was putting the IMAGE number between the brackets, and NOT the ID, which is what I was supossed to put. When putting the object ID, it works.

Thank you so much for your patience!
#3
I made a folder for the objects in this room, but still no use...

Yeah, I'm sure the problem is somehting I'm doing wrong, but I can't figure out what? I mean, it's a pretty simple line of scripting, how  can I put it wrong!

Oh, and yes, the object is in the same room, with the correct name and number...
#4
Okay, I'm going to sound retarded, but that is the total number of dialogs and objects that I have for the whole game in all of the screens... Maybe I would not be getting this error message if I had created a folder for each screen for the dialogs and sprites?

Anyway, I'm trying with other object numbers, after adding them to the room, and I keep getting errors...
#5
The names of the object are the same everywhere... I even tried with other object that were working properly with other actions, and the error message is the same.

I tried the object[41] thing, and now I didn't get an error message when saving the game, but whenplaying to see if it works, after the dialog, the screen freezes and a pop up message appears: Error running function '_run_dialog38': Error: Array index out of bounds (index: 41, bounds 0...39)
#6
See, what I have  is this:


function cDonna_Talk()
{
dDonna.Start();
}


THEN:

@2
Donna: Organizacion Transoceanica Paragubernamental?
Ego: Casi... probemos otra cosa: que me puedes decir de Gaza? Busco elementos que hagan peligrar una OTP...
Donna: Gaza! Casi muero alli!!
       
       cDonna.Say("Eso si puso en peligro muchas cosas...");  (If I delete this, I get the same error message as if I keep it)
       oMortal.Visible = true;

stop

Error message says: Error: Undefined token 'oMortal'
#7
Yes, yes, I did both things...
#8
Thank you both!!

Adeel, I had tried what you suggest, but I keep gettin an error: "Undefined token". Should I add something else to the dialog form? I should put a "function" or something, right?



Slasher, where should I write that?

Thank you again!
#9
Hello!

I want an object to appear onscreen only after  my character has finished a dialog with another character, and then he will have to pick up that object to his inventory. How can I do that?

I tried with function dDonna.Stop and then playing with de object (oMortal), so when the dialog stopped, the object became true, but it won't work, I guess I'm making it up...

Help, please? Thank you a lot!!!
#10
LOL, thanks a lot!! :)
#11
That worked perfectly, thank you so much!!

I didn't copy the error messages, sorry, so I can't tell you exactly what they were, but I can see now that the problem was that I was not writing correctly what was between the brackets (ie ("fantasma abigail"), because I wrote it as if it was an object (ie ("oAbigail") ).

Oldschool_Wolf, what do you mean it will happen again? The object should be in my inventory permanently, unless I use it, so.. if I use your code, as long as I have the item in my inventory, the sound would play, right?
#12
Hello!

I'm trying to make something happen just once, or for it to stop after some other thing happenning, but no success so far...

The thing is: My character walks over a bridge (Puente). That makes an object appear (oAbigail) and a ghostly sound play (aFantasma). Then, what I would like to happen is that, even if the character is over the Bridge, the sound stopped, and when my character onteracts with the objetc, it dissapears and just appears in my inventory, not reappearing again even if the character walks over the bridge again.

My code:

function oAbigail_Interact()
{
aFantasma.Stop();
oAbigail.Visible = false;
player.AddInventory(iAbigail);
}

function hPuente_WalkOn()
{
aFantasma.Play();
oAbigail.Visible = true;
}

I have tried the "do once only" command, but I keep getting errors... and the first time I interact iwth the object, the sound stops and the item is in the inventory... but it reappears again when I walk over the bridge.

Help, please?

Thanks in advance!!

#13
That worked perfectly, thank you so much!
#14
Hello!

I have my main character the average size (very similar to the size of the GUI example provided in AGS). But in the screen I'm working on right now, the Buildings and stuff are smaller, and the perspective is different, hence my need to make the size of my character smaller.

Is there a way to do this, and only affect this window, returning to its original size when it moves forwards to another window? Or do I have to import a new sprite just for that?

Thank you!!
#15
Worked perfectly! Sorry for the dumb question, I can see how easy it was now, but I was blocked!

Thanks!
#16
Mmmmmh... I can now modify the sice of the buttos for the gPanel, but I can't touch the buttons from the gIconBar, hence them not working...
#17
Thank you so much! Looks like it had something to do with it, because I changed the width and height and I can see the full menu now... but teh buttons have come closer and I can't click then when I'm playing. Plus, the exit and save menus leek looking weird (see captures). I have tried to look for a way to modify the GUI buttons and fonts but I can't find how... Help, please?

Thank you!!!

http://img705.imageshack.us/img705/9670/exitu.jpg
http://img405.imageshack.us/img405/9430/menu2yy.jpg
#18
Hello!

I'm a newbie here and using AGS. I'm trying it out with several tests, using the tutorial, and I have everything sorted out, more or less, and I'm about to start making my own game, but there's a problem I can't solve: The top menu with all the options and the objects I grab looks weird, I can only see it partially (see attached screen capture). Why does this happen? I have tried changing the screen resolution and it's still the same, and I can't find similar topics in the forums...

http://img28.imageshack.us/img28/2403/topmenuo.jpg

Thank you in advance!
SMF spam blocked by CleanTalk