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

#1
I kind of got in a bit of a mess when trying to make only ONE item open a chest. Can anyone help?
PS If this is too complicated and the moderators delete this, ill understand.

function igumkey_a;

  function oChest_UseInv()
  {
    if (player.ActiveInventory == igumkey)
    {
      player.LoseInventory(igumkey);
      player.Say("Great it's unlocked!");
      oChest.Graphic = 6;
      chestUnlocked = true;
    }
    else
    {
      player.Say("As you can see, it's locked and I need some sort of key");
  }
}
 
function oChest_Interact()
{
 
  if (!chestUnlocked)
  {
    player.Say("It's locked, and I can't reach inside.");
  }
  else
  {
    if (!chestEmpty)
    {
      player.Say("Now I have the camera.");
      player.AddInventory(icamera);
      chestEmpty = true;
      oChest.Visible = false;
    }
    else
    {
      player.Say("Nothing in that chest.");
    }
  }

}
#2
Quote from: Pumaman on Tue 12/08/2008 22:11:03
What exactly is the problem?

well, i have an item named igumkey and I want it to open oChest, but i kind of screw of the scripting so that everytime i click the chest with the gumkey, nothing happens
#3
I kind of got in a bit of a mess when trying to make only ONE item open a chest. Can anyone help?
PS If this is too complicated and the moderators delete this, ill understand.

function igumkey_a;

  function oChest_UseInv()
  {
    if (player.ActiveInventory == igumkey)
    {
      player.LoseInventory(igumkey);
      player.Say("Great it's unlocked!");
      oChest.Graphic = 6;
      chestUnlocked = true;
    }
    else
    {
      player.Say("As you can see, it's locked and I need some sort of key");
  }
}
 
function oChest_Interact()
{
 
  if (!chestUnlocked)
  {
    player.Say("It's locked, and I can't reach inside.");
  }
  else
  {
    if (!chestEmpty)
    {
      player.Say("Now I have the camera.");
      player.AddInventory(icamera);
      chestEmpty = true;
      oChest.Visible = false;
    }
    else
    {
      player.Say("Nothing in that chest.");
    }
  }

}
#4
UPDATE

Story: 90%
Sound: 65%
Graphics: 47%
Dialogs: 15%
Scripting: 24%
#5
You know, it kind of does, never saw it!
#6
*I'm taking a short break from Lemmy's Search*

Ibrahim9 Presents:

Shawn Nightly in the 'Napping!

Story:

Shawn Nightly is an amateur detective suddenly thrown into a kidnapping of his lil' bro. Now he must find out who kidnapped his brother, and why. Shawn Nightly must use every skill he learned from his first and only detective class to help him solve the nasty mystery. During his adventure, Shawn will traverse large distances like the hay store and the bank that is convinently located outside his estate/office! Use your cunning and wit to complete puzzles to save your little brother!

Features:

*Beautiful, yet cartoonish graphics that makes you feel like your in the case!
*Tons of characters with different personalities that range from a tough gangster asian reject to a mentally disabled member of the city.
*Funny dialogs that immortalizes the stereotypes in the world.
*And Much More!


 

 

                                         

Story: 90%
Sound: 65%
Graphics: 45%
Dialogs: 12%
Scripting: 20%

#7
What you should do is go outside and take a walk. You most likely have writer's block and need fresh air to bring back imaginative ideas back, which i assume you've said your good at. After you've cleared your head, try to think of crazy wacky concepts and then decide which of them you would like to see be made into a game.
#8
Hints & Tips / Re: Once Upon a Crime
Wed 02/01/2008 06:53:04
You go to the tip of the rock and use it with the package.
#9
There is a sound file somewhere in your game, you might have put it on by accident, search for it, then delete  it.
#10
Nice game, it's beautiful, charcaters look funny, nice colours and may look like a lot of fun!

P.S. What's with the Star Wars thingey in the background?
#11
AGS Games in Production / Re: Lemmy's Search
Sun 30/12/2007 17:07:02
Thanks for the nice comments guys, this game is going smoothly.
#12
AGS Games in Production / Lemmy's Search
Sat 29/12/2007 21:49:24
Ibrahim9 Presents:
Lemmy's Search

Features:
*10+ Characters each with bursting personalities.
*Creative graphics going after the Super Paper Mario (TM) style.
*Funny dialog between characters.
*Storyline that follows the everyday man...well almost.
*Pacing puzzles: you'll have to finish three mind bending tests to disable the bomb!

Story:

You are Lemmy. A college slacker that's barely making it through school. One day in the middle of the March Break, he decides to go out on a beautiful day. But he is soon confronted by the Orange Wizard, a short, wannabe evil mastermind with the worst villian name ever imaginable. He's planted five bombs in five buildings. You'll have to talk to the people in the community to find out how to get to the next part of the game.

Images:









Percentage Finish by Dec. 28, 2007:
Story: 90%
Scripting: 45%*
Graphics: 100%
Sound/Music: 50%

Approx. finish: 2008

*So, the whole scripting thing is not working right now, so I am looking for volenteer scripters.

#13
ok thanks for the advice, im kinda new.
#14
Well I am very new to scrpiting, plz forgive me if this is something ez but i am trying to make the locked door and key usage kind of situation and i got a private message on how to do it, but everytime i try to test it, it says Error line 19  Nested Functions not supported (you may be missing a closing bracket) i will demonstarte.


could you find the problem plz?

// room script file
#sectionstart hotspot10_b  // DO NOT EDIT OR REMOVE THIS LINE
function hotspot10_b() {
  // script for Hotspot 10 (Door): Look at hotspot
if (door_locked == 1) {
  player.Say("The door is locked, I need a key!");
}
else {
  player.Say("It's the door to the next room.");
}

 
{
#sectionend hotspot10_b  // DO NOT EDIT OR REMOVE THIS LINE

}
#sectionstart hotspot10_a  // DO NOT EDIT OR REMOVE THIS LINE
{
function hotspot10_a() {
  // script for Hotspot 10 (Door): Use inventory on hotspot
if (player.ActiveInventory == iKey) {
  if (door_locked == 1) }
    door_locked = 0;
    player.LoseInventory(iKey);
    player.Say("I unlocked the door");
    }
  else {
    player.Say("It is already unlocked.");
}
 
}
#sectionend hotspot10_a  // DO NOT EDIT OR REMOVE THIS LINE

#sectionstart hotspot10_c  // DO NOT EDIT OR REMOVE THIS LINE
function hotspot10_c() {
  // script for Hotspot 10 (Door): Interact hotspot
if (door_locked == 1) {
  player.Say("I can't, it is locked!");
  }
else {
  player.ChangeRoom(2, 43, 174);
}
 
}
#sectionend hotspot10_c  // DO NOT EDIT OR REMOVE THIS LINE
#15
the topic name is self-explanitory. help plz?
#16
Beginners' Technical Questions / Re: Keys
Sun 04/11/2007 00:59:16
how would i do that?
#17
Beginners' Technical Questions / Re: Keys
Sat 03/11/2007 23:07:03
Thats not really helping me.
#18
I can't get my key to work on the door, I have made it disappear when i touch it and appear on my inventory, but i can't use it on my door, which when i click it, i just go to the next room while keeping my keys. How can i use my key on my hotspot (door) and lose it after i use it?
#19
Beginners' Technical Questions / Manual
Sat 03/11/2007 19:29:00
Where can i find the manual? people keep saying manual manual, where is it?
#20
umm...haha. Kind of embarassing, where do i find the player.ChangeRoom command?
SMF spam blocked by CleanTalk