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

#81
"for the second error, double-check you've entered the correct number."

Thanks a lot Khris one problem solved already I am so stupid...

I am working on the other one now  :)

Thanks again i will update soon
#82
Hello,

I am still learning AGS and i wanted to customize "display message" using a text window GUI that i will create.

Unfortunately it seems that i am having a problem when create a new text window GUI this is what i get:



Nothing is clickable i can't do nothing.

I created a lots of normal GUI and it this is the first time i am trying Text Window GUI.

I have no idea what's wrong maybe i deleted something that was needed for it to work properly (the little arrows ?)

I tried creating a new game and same thing.

I hope someone will be able to help me to fix the problem.

Big thanks in advance

UPDATE:
I found some little red square but i only got the left and middle one none on the right side I only got 4

In General Settings --> Text Output --> Custom Test window GUI i put the number of the text GUI

and i get this message:



Thanks again if you can help

#83
It's perfectly working thanks a lot Matti for the explanation have a great day.
#84
Hello,

Once again i will need your help.

I made a cuckoo animation with 2 loops.
view 6 is used for cuckoo animations
loop 0 = is the clock working
loop 1 = is the bird coming out of the cuckoo


What i wanted to make is the cuckoo animate when i enter the room and if the player click on it the bird comes out of it

It works really well but the problem is that once you click on it and the bird came out the animation is stop and the clock isn't working anymore.

Of course if want the program to go back to the 1st loop so the clock still look animated.

Code: ags

function room_AfterFadeIn()
{

object[0].SetView(6);
object[0].Animate(0, 4, eRepeat, eNoBlock);

}


function cuckoo_Interact()
{

object[0].SetView(6);
object[0].Animate(1, 4, eOnce, eNoBlock);


}


Thank you so much again for you help.
#85
Yes it's working,
Thanks you so much for the explanation Gilbert this is very kind and now i understand my mistake.

Been working on this for 2 days  :)
Now i won't make this mistake again, thank you for your time and the nice explanation.

This forum is really amazing  :P
#86
Hello,

There's something i don't understand so i hope someone can help and explain to me.

I have a door locked with a key.
If you interact with the door without the key it says"the door is locked"
Everything is working fine, the key open the door.
I can open and close the door this is how i want it to work.
Unfortunately i have a problem even when the key has been used to unlock the door if you close it and reopen it, it still says "the door is locked" when you click to reopen.
and i don't want that to happen again once the door has been unlocked of course.

This is the code i have in my room script file:

Code: ags

bool door_unlocked = false;

function oDoorclose_Interact()
{
  cChar1.Walk(872, 712, eBlock);
  cChar1.FaceDirection(eDirectionUp);
  if (door_unlocked) door1.Play(eAudioPriorityNormal, eOnce);
  if (door_unlocked) oDooropen.Visible = true; 
 
   else  door1.Play(eAudioPriorityNormal, eOnce);
  
  	player.Say("The door is closed.");

}


I tough that the "else" would have done the job but it looks like there's something i don't understand well.
Thanks a lot for your precious help i can provide the rest of the code if needed but i don't think so.

a few pictures so you can see how it looks:





Thanks again  :)
#87
Very kind  :) thanks again
#88
Hello and thanks a lot for the quick answer.

You are right i made a big mistake with the = operator instead of ==
I will also give clearer name to my object and rename it Odoorclosed that's a very good advice.

Thanks again for your precious help and now i will follow you on twitter  :)
#89
Hello,

I am kind of new to AGS, it's been a few month now and unfortunately i am struggling with the IF function.

Code: ags

function oObject1_Interact()
{
if (oObject1.Visible = true) {
player.Say("the door is closed");

}


This is the error message i got:
Failed to save room room10.crm; details below
room10.asc(77): Error (line 77): Parse error in expr near 'oObject1'


oObject1 does exist it's the door in closed position

Thanks in advance for you help i wish everyone a nice week-end.
SMF spam blocked by CleanTalk