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

#1
Thank you so very much, you saved my day! I have a hard time understanding this sort of thing without concrete examples and the manual only took me so far... (and see, that RunInteract bit, that's one of the insane things i was talking about...after i've tried all the reasonable stuff and i can't make it work i just go on to using nonsense... :-[)
I can honestly say this is the best help I've ever gotten in any forum! Thank you!

*
#2
Thanks for the answers.
I'll be honest with you, i'm as new as they get on AGS, and i'm embarassed to show you what i've been trying because it must be really silly... but i'll do it anyway, just don't make fun... I sort of chose a variable that made the least bit of sense...and it obviously doesn't...

function oespelho_Interact ()
{
  if (oespelho.Graphic == 8) {
  cdaniel.Say("Vamos la ver o que temos aqui...");
  cdaniel.Walk(403, 518, eBlock);
  object[0].Graphic = 27 ;
  cdaniel.Say("E um espelho de corpo inteiro."); }
if (oespelho.Graphic == 27) {
  cdaniel.Say("Hm...Tenho uma ideia.");
  cdaniel.Move(400, 343);
}

I did notice that DoOnce Only, but after reading the manual I still couldn't understand how to use it so i tried all sorts of insane ideas untill i was exhausted, so i just asked for help. Can you just give me an example on how to use it? Meanwhil i'll try the one mazoliin suggested.

Thank you
#3
Well, I'm working on a very simple point and click game and I'm having trouble on the following:
I have an object (oespelho) which should have a reaction to the first time the player clicks on it in interact mode, then a different one from then on. I've been trying with variables but I've gotten so lost I decided to just ask.
It's sort of an urgent matter.
Thank you in advance.

Sofia
SMF spam blocked by CleanTalk