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

#41
you might consider playing couple of games too ;)
#42
Quote from: Grim Reaper on Fri 17/08/2007 22:08:54
Funnily enough something happened to my version of ags and I cant get screenshots if I either press printscn or with alt...I wonder whats wrong...
yeah,that happened to me too!!
#43
oh,i get it! Thank you!

Sorry for being a pain in the ass but it's my first game and all.
I hope i'll finish it this week actually.
#44
IT WORKED!!!!!!!


I created the variables in global variable pane,the each variable changed to 1 after each option.
In global script i put:

function cJerry_Talk()
{
if (DIALOGVB1 == 1 && DIALOGVB2 == 1 && DIALOGVB3 == 1 && DIALOGVB4 == 1 && DIALOGVB5 == 1)
   {cJerry.Say("I know what we have to do!");}
else
{cJames.FaceCharacter(cJerry);
cJerry.FaceCharacter(cJames);
cJerry.Say("I need to get out of here!");
cJames.Say("There is nothing you can do.");
cJames.Say("The best option would be to wait until someone comes.");
cJames.Say("Any bigger ruckuss might just bring the whole thing down.");
Wait(40);
cJerry.Say("Yeah,I'm aware of that.");
Wait(20);
cJames.Say("What is your name?");
cJerry.Say("J..Jerry.I'm Jerry.");
cJerry.FaceLocation(338, 158, eBlock);
}
}



If i want to do it for all the characters its just gonna take more variables!
THANK YOU ALL!!!!!!
#45
Yep! I was fighting with that,now the variable in dialog works
thanks MONEY_05_06
now ill write and try the rest of the code
#46
ok,thanks the == was tyoing mistake,the rest ill try now


#47
ok,thanks,soryy   :-\
#48
no,i deleted it,it was totally confusing,i mught write it again and then post it
#49
Advanced Technical Forum / Re: SCRIPTING BUG
Sun 28/12/2008 15:50:10
oh,so just the eof thing is misplaced then?
that one doesnt even say the line number
#50
Advanced Technical Forum / Re: SCRIPTING BUG
Sun 28/12/2008 15:43:19
to me sometimes it says: you probably forgot to close the bracket!
then i put " on the right playe when i find its missing and all is fine

(note that it said-missing closing bracket-in the line befoe where there actually is a problem with missing "   )
#51
wel,i thought the only way to do it was using a lot of variables
so i wrote(this is a structure example)

outside of everything:

int DIALOGV = 0;
int DIALOGV2 = 0; ect.

then in the dialogs i would add after each option;

DIALOG

mary: somethin,something,somethnig...
1@
mary: bla bla bla
harry:  bla bla
DIALOGV = 1;
option-off1
1@
mary: bal ba
harry: bla bla
DIALOGV = 1;
option-off2      etc.

i would put that after each option in each dialog for every person.

and,here come 2 problems!,
in the section intercat john_talk()

(i thought this would work.)(i was wrong);
if DIALOGV = 1;
if DIALOGV2 = 1;
if DIALOGV3 = 1; etc....
{cjon.say("Munckins,theyl get you!");}

else
cjohn.say("LA LA LA!");

1. when i decide to run the game it says that dialogV is undefined!

when i try the same thing with the old way,using SETGLOBALINT and GETGLOBALINT
there are no bugs so i guess there is a problem with global variables in dialogs

2.when i used setgloabal int ec. i realised its just not possible for it to do what i want
i wish for my character to say a certain sentence all the time until all of the people have been questioned(all variables set to 1 or in workng case setglobalint);
then after i question them i want him to schange the sentence

this is important for me because i want the player to know all the facts before continuing the game story

(Note that i a making a game that is problably gonna take place just in 1 room,currenty thats the plan) (Hoping to finish it soon)
#52
couse it really gets on my nerves,im totally stuck

i really need the game to continue after all of them have been totally questioned.

i tryed using variables after each option but it gets compplicated
with IF command and dialog script still has problems coz its not recognizing global variables.
#53
Hi,it's boring me again.But everyone before were so helpful and i don't wanna breka my head with this anymore.

Does anyone know how to make a character do something,or say something new when i ckick on him,never mind
after i have interrogated everyone totaly
i have 5 people,i have dialog with each of them
i would like that the options for that person change only if the player had gone through whole dialogs with every person.  ???
#54
found it it ,means i can do everything
i have to press SPACE to begin script
thank you very much,this help a lot!!!
#55
Advanced Technical Forum / Re: SCRIPTING BUG
Sat 27/12/2008 13:02:43
yeah,couse its really anyoing,i have to go through all my script to find the mistake couse not that it just gives a wrong problem info but doesnt give you the line number too
#56
* Added support for running normal scripts as part of dialog scripts,  and thus obsoleted the run-script, dialog_request business

does that mean i can now,for an example,use scripting code face character during the dialogs?
#57
I want to of my characters to come to a conclusion at the same time,i am
using default sierra talking style
how can i make them say those sentences at the same time?
#58
General Discussion / Re: SCRIPTING
Sat 27/12/2008 00:56:27
thanks,that really helps!!!!!!!!!!!!! ;D
#59
General Discussion / Re: SCRIPTING
Fri 26/12/2008 20:44:17
Thanks,you hit right in the spot.I wanted to make big super game
and was just lost in the process.
Then yesterday i had an idea about this game that can be cool,small amount of characters and 
one room and there was no end to me.
Step by step i'm hitting it with the script and i'm making progress.





"I guess games would be more appreciated if people knew how much effort the maker
has put in it!"
#60
Advanced Technical Forum / SCRIPTING BUG
Fri 26/12/2008 20:29:36
Hy,i am using AGS 3.01.
i dont't know if this was already changed.
there is a small bug in script debbug output window
when i put

cghoul.say("Hello);

you notice i didn't put " after hello.

the problem is that the debbuger never says its that problem but says something else like:
unrecognized eof or you might have forgotten to close the bracket.

i know this because when i write a long set of codes and enter the game,the debugger says
something else and i keep trying to find the mistake,but now o located the problem and i don't want someone to exerience the same,cheers
SMF spam blocked by CleanTalk