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

#361
Do the methods described in this thread help?

Quote from: jesrov23 on Sat 11/02/2006 05:38:51
Turning off the sound solved the problem.  Actually, once I had played for a few minutes and saved a new game, I was able to turn the sound back on, load the newest game, and it's still working.  Thanks for all the help!

Quote from: Pumaman on Sat 11/02/2006 20:03:34After investigation, it turns out that a couple of the MP3 that Prodigal uses are slightly corrupt, and when AGS attempts to resume playback of the mp3 when you restore a save game, it's falling over because the MP3 contains invalid information.
#362
I like it too.
#363
Wow, that's low.

Quote from: Nacho on Fri 28/07/2006 19:08:21I think Yabb has made a bug or something, because I haven't written that! ^_^

Yep, sorry, that was me messing up.

Quote from: Nacho on Fri 28/07/2006 19:08:21About the "we are not animals, because we can think, we have moral and ethics"... Forget my previous post putting words in your lips... I was playing the fool...

I'm glad. :)

Quote from: Nacho on Fri 28/07/2006 19:08:21But the real argument is that Peta (which means "joint" in Spanish...) says that we must respect animals becase WE ARE animals, therefore we are not better than them, ergo, we can't kill them. BUT, if you say that we are indeed animals, but different in a degree since we have moral and ethics, you are totally destroying their argument.

I'm speaking for myself, not PETA.
I do think we are superior to animals, and that's exactly the reason we should respect and care for them.
#364
Quote from: Nikolas on Fri 28/07/2006 16:33:07Yuo want something, but in order not to be pointed out as hypocrite, you have to accept absolutely everything, or else...

What I mean is everybody loves animals and doesn't want them to suffer but nobody wants to do anything about it.
I freely admit that I don't do everything I could do. If that makes me a hypocrite and I can't call me vegetarian, fine. At least I do something.

Quote from: Nikolas on Fri 28/07/2006 16:33:07This to me does not look natural

I think most people's diet today is unbalanced and unnatural. But yes, there's a conflict for vegans.
I like the taste of meat and if I didn't know an animal suffered and was killed for it, I would eat it. But I can't do that with a clear conscience.
So I've been vegetarian (it's shorter to write ;)) for 5 years now, had my blood tested, feel fine and am fine according to my doctor.
#365


After running to the train to the world cup 2006 semi-final here in Germany.
#366
Quote from: Nacho on Fri 28/07/2006 15:04:44
So, if I chose the option of eating meat, I don't have moral and/nor ethic?

Of course you do. Please. ::)
What I meant is we can make decisions based on that. Animals not for all we know.

Quote from: Radiant on Fri 28/07/2006 15:14:08
It's more of a gray area than you say; animals also think. See http://en.wikipedia.org/wiki/Animal_intelligence for some background info.

We are smarter than they are. However you want to put it.

Quote from: Radiant on Fri 28/07/2006 15:14:08This does remind me of an old friend of mine who is vegetarian, but nevertheless eats hamburgers because he likes them. If you're going to play the ethics card, at least be consistent.

Why do I have to be consistent? So maybe I'm not a "vegetarian". But I still don't eat meat, drink milk or eat eggs. That's better than nothing, no?

Quote from: SSH on Fri 28/07/2006 15:11:44
Having looked it up, it seems that Organic certification for meat and dairy products means that the animals should have much better living conditions. Why are these then not acceptable?

I don't understand. Could you please word it differently?

Edit:

Ah, now I understand.

Better living conditions as opposed to what? It's still far from living naturally.
Cows only give milk when they have babies, just like humans. So they're impregnated constantly and their children then taken away from them. No living condition can change that. And they still get killed.
#368
Yes, don't dismiss the whole idea because of some nutcases.

Quote from: Nacho on Fri 28/07/2006 12:52:39If we are animals, we can DO what ANIMALS DO, and some animals EAT some OTHER ANIMALS. Lions eat gazelles, Crocs eat nyús, or whatever they're called. Our digestive system is preppaired to be omnivorous, so... we can eat meat, IMO.

Sure, we may be animals in the biological sense, but we can think, have morals and ethics. We're human.
I CAN eat meat, but I have a choice, so I don't. The lion killing the zebra doesn't have a choice.

Quote from: Nikolas on Fri 28/07/2006 12:59:21Now after a while things have changed and the 'kill to dress' is totally wrong, cause obviously there are 1000s of ways to do that without killing.

Agreed.

Quote from: Nikolas on Fri 28/07/2006 12:59:21
About food, I know that vegetarians have wasted a lot of time and money into finding ways to feed themselves with some alternatives than food, but SOYA MILK???? I mean it just sucks!

I rather like it. It contains a lot of water which makes it taste fresher, less creamy than cow's milk.
And the fact that that comes from the glands of some farm animal disgusts me, to be honest.

But there are not proper alternatives for everything. While the first question should always be if you can't just do without, I have decided that I can't do without cheese (made from milk, I know). There's just nothing quite like it. And I love pizza.
Now, people always tell me I'm inconsequential. No meat, no milk, but I eat cheese? I'm a hypocrite.
They may be right, but that doesn't belittle everything else I (do not) do.
What do you do to reduce animal suffering? Why all-or-nothing? Start small.

Quote from: Nikolas on Fri 28/07/2006 12:59:21It's a fact that cows produced 3/4 more milk than their children will need. Why not use that 3/4???? You may not want to eat a T-bone-steak, ok, but milk, eggs, and all that stuff...

As you say, it's the industrial methods with total disregard for the well-being of the animals that drives most people to boycott it.
That includes breeding cows with udders so big that they can hardly walk anymore.

Quote from: Nikolas on Fri 28/07/2006 12:59:21But then someone comes to you and says (...) Then the next one comes along (...) and this thing never ends...

So you just do nothing at all? That's hypocritical to me. (No offense!)

Quote from: SSH on Fri 28/07/2006 13:26:16
So if you have your own chickens that you look after nicely and don't force to lay lots of eggs, it would be OK to eat those eggs, then?

To me, yes. If you really think you can't do without.

Quote from: SSH on Fri 28/07/2006 13:26:16Also, I was reading in this week's New Scientist that giving babies soya milk formula instead of cows milk formula is very bad for them. Of course human milk is better still...

Yes, I'm on the fence on this as well.
But there are always studies proving one thing or another.
While I think you could feed babies a balanced, but purely vegetarian diet, I would err on the side of caution and feed them a "normal" diet.

Quote from: SSH on Fri 28/07/2006 13:26:16And can you wear leather if the cow involved died of natural causes. Also, my feet smell if I use non-leather shoes.

In my mind, yes. But since it doesn't say so on the label, I'd rather not condone leather at all.
#369
So it displays 0 even right after you change it? And the function where you change is called? Are you sure? Please check again.

If all else fails, you could upload the game somewhere for us to take a look at.
#370
If you put
  int Fez = 0;
outside of any functions, I don't think it gets reset. The 0 is just the value the variable gets initialized to. But since 0 is the default value anyway, Maverick's way would work as well.

Have you tried putting some Display commands into your functions and conditional statements to see if they are called at all?
At the same time you can output the value of the variable like this:
  Display("Fez is %d", Fez);
Put it in game_start, right after you change its value, and right before you check its value.
#371
As you found out, you can't make objects unclickable from within the editor at the moment.
Just put the
  oKnife.Clickable = false;
into the room's "Player enters room for the first time" event.

But technically, putting it in the normal "Player enters room" event wouldn't make a difference since the object isn't deleted when you take it, it's just turned off.
#372
(I was typing while Ashen replied, still, here it is:)

If you read the manual, you'll see that the Character.FaceCharacter function expects a character pointer, not the character's number.
Use the character's script-o-name instead (i.e. cGeorge, cEnemy):
Code: ags
  cOff1.FaceCharacter(cWait, eBlock);


If the character-to-face doesn't have a script name or you want to do advanced stuff like iterating through a list of characters, you can use the character's number with the character[] array:
Code: ags
  cOff1.FaceCharacter(character[6]);


So, if a character has the number 6 and is called George, the following would all work:
Code: ags

  player.FaceCharacter(character[6]); // Wait, what character is that?
  player.FaceCharacter(character[GEORGE]); // Ah, George. Still a bit unwieldy.
  player.FaceCharacter(cGeorge); // The modern way, very easy to read
#373
Code: ags

int Fez = 0;
export Fez;


You have to put this outside of any functions, at the very top of the global script.

The moment you define a variable inside a function, it is local to the function and gets destroyed when the function ends, regardless of whether you try to export it or not. But the export keyword doesn't work inside functions anyway, hence the error message.
#374
Please post your code so we can help you better by pointing out the mistake.

If you're trying to use the global variable in a room script, don't define it again. Remember, it has already been defined in the global script and with the export/import has been made ready to use in your room script.
So if, in your room script function, you have:
  int Fez = 1;
or something, just change it to
  Fez = 1;

But as I said, please post the relevant portions of your code so we can help you better.
#377
"Run script" actions always run after the interaction editor actions have finished, regardless of their position in the list.
Try using a single "Run script" action and convert all your interaction editor actions to script.
#378
Don't worry about it, I was merely pointing it out.
Feel free to upload your demo somewhere, I'm sure someone will get something out of it.
And Welcome to the forums! :)
#380
Yes, I was thinking of Game.InventoryItemCount. :P
AGS_MAX_INV_ITEMS is the maximum allowed number of inv items, not the actual number of items defined in your project.
Sorry for the confusion. I'm glad you were able to work it out anyway.
SMF spam blocked by CleanTalk