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

Topics - zewb

#1
Okay, I'm trying to make a GUI that displays the buttons on an elevator. GUI 2 is the panel and button 0 is the first button. My goal is to make it so when the player clicks button 0, the doors close, the command parser waits for 3 seconds, the doors open again, and the character walks out. I've never actually done direct scripting before, so I've probably screwed up some mundane detail:

#sectionstart interface_click  // DO NOT EDIT OR REMOVE THIS LINE
function interface_click(2, 0) {
  // This function is obsolete, from 2.62 and earlier versions.
  gui[2].Visible = false;
  // Elevator doors close.
  object[0].Visible = true;
  object[0].SetView(9);
  object[0].Animate(0, 5, eOnce, eBlock);
  object[0].StopAnimating();
  object[0].SetView(11);
  // Elevator moves.
  Wait(120);
  // Elevator doors open.
  object[0].SetView(10);
  object[0].Animate(0, 5, eOnce, eBlock);
  object[0].StopAnimating();
  object[0].SetView(12);
  // Todd exits.
  character[Todd].Walk(97, 151, eBlock);
  character[Todd].changeroom(3, 305, 167);
}

When I try to test the game, I get a PE03: Parse Error at '2' on that second line. GUI 2 does exist, so I don't understand what the problem is.

One thing that bothers me is that comment that reads "this function is obsolete." Is there a more recent function I should be using? Please help.
#2
AGS Games in Production / Office Quest
Wed 14/02/2007 22:26:40
Office Quest is a comical adventure whose title is partly inspired by Sierra's motif of taking interesting things and adding the word "Quest" after them.

Synopsis:
Todd Flannigan is a corporate worker bee who just wants to finish his work and go home. The problem is his incompetent boss is convinced that someone stole his lucky 5 iron and he wants Todd to find the culprit.


Look! It's the plot!

The entire game takes place in the office building, which is 5 floors, including the basement and the roof. Basically, the player will talk to various NPC's around the office and solve puzzles to find out who stole the golf club and how to get it back.


Terry, the ill-tempered mail clerk who is on his perpetual smoking break.

There will be quips, jokes, references, and hilarious characters, and maybe even a plot twist. Stay tuned.


Copier's on the fritz again.

Estimated Release Date: When it's done.
Percent Complete: 35%

UPDATE: Improved the backgrounds, added a character, finished the elevator system, and added a very hilarious cutscene.

ANOTHER UPDATE: Redid the entire elevator system, added a few rooms and characters.
#3
Completed Game Announcements / Johnny Danger!
Mon 12/06/2006 22:33:06
Be gentle; this is my first game ever.

Synopsis: Johnny Danger is a nobody who has just won an all expenses paid cruise to the Bahamas, but what he does not realize is that he's going on a much bigger adventure...



Download it here:

http://www.visualanimations.com/agsgames/danger.rar


(It's a RAR file, so you might want to download WinRAR.)

So...enjoy the game, and PLEASE inform me of any bugs you find, and please give constructive criticism.

Thanks!
SMF spam blocked by CleanTalk