I am making a video game.Everything is going kool except this dialog thing.See i have a hotspot and i want that when the player clicks on it, it brings up an dialog choices box.When the player clicks on any of the choice a video should be played.
So any genius can help me.
Please Please Please help me and try to :-[mail the solution to my email address.Thank u everyone.................
1) you didn't give us your e-mail
2) Why did you start two threads?
I would suggest you get more experience of AGS first before you start trying stuff like this.
For reference, you need to use the run-script dialog command and the PlayVideo text script command, but if you're new to AGS you may well not understand that yet - keep working through the tutorials and try out some simpler things before going to videos.
I know that i am not an expert but please please anyone can write the script for me.I will be extremly helpful to that person.
Thankxxx
Not to be unfriendly or anything, but maybe you should start off in the beginner's board.
Also, I don't think there are too many people who'll want to write scripts for you.
My advice is to read the manual that comes with AGS before posting.
Then when you have a question that's not in the manual, post a query in the beginner's board.
Hmm.... Yes.... :( And stop saying genius, because I think most of the visitors on these boards are just normal people...
To get the choice box you might use either a dialog (yet I dont suggest) or a GUI... It's very hard to expalin how this is done, so read the manual inside-out and come see if I have made something up with this....
Ok..........
Now I know that i am not an expert but hey i know the basis(not a lot :-[) but i am capable of making game.Then I read the tutorials and help and all i could get was to use the Dialog_request function.But hey i dont know how to use it.And anyone who can just write a little script for me,that wont hurt a lot,will it.
smashingdude@hotmail.com
Using the dialog_request function..? It's told in the manua...
I still don't know exactly what you're asking for, but this is how an ordinary dialog scripting can look like:
in dialog script:
run-script x
in global script:
function dialog_request (int something){
if (something == x){
function;
}
}
Now can you please do us the favour next time to read the manual, if you still don't manage then specify your problem and stop asking people to "email the solution" and to not make more than one thread?
I'll just point out that e-mailing solutions to scripting problems is normally frowned upon on technical-type forums, since it prevents other people from seeing what the answer was, and perhaps learning from that!
And HeartHacker: you started this thread just two days ago, and yet you have already given up on your scripting problem! You do realise that games of the magnitude you're describing often take over a year to complete?
Or a month, if your graphics are crap like mine!
Thankx a lot to all of u guyz for helping me.First of all i am sorry for starting two threads.Thankx a lot for writing a script for me.I read the manual and most of the thing i understood.But only this dialog_request function.I will give it a try by using andail script.I just want 3 sets of option to appear on screen when the player clicks on a hotspot or a person and when he choses one option a video plays.Thats all!!!!!!!!!!!!
Anyway thankx for ur corporation guyz.Still if u can give me a better script........u r welcome
If I understood this right, you want a set of options appear on the screen when you click on a hotspot, right? This can be done easily...... (or not, I dont know, I just can do it...)
Make a new dialog topic (If you want to mess around with the dialog) and make the three options as dialog options, but uncheck the "say". Then go to the script, add to the dialog start point "return" without the quotes, and put into every opiton script (under the "@1" etc) run-script x, where x is a number, and then put into the global scripts dialog_reguest if (whatever == x) { script here } as Andail suggested... other possibility is to make a new GUI where the options are as button, and the GUI script does the rest....
Sorry for repeating ya people..