How do i stop my character talking to someone after i've spoken to them? (SOLVED

Started by Oasis, Thu 06/04/2006 18:43:49

Previous topic - Next topic

Oasis

Basically my character is talking to someone and halfway through the conversation he dies. But when i click on him after this happens they start the conversation up again! How do i stop this happening? I had a look through the manual but i cant seem to find out what to do!

A�rendyll (formerly Yurina)

Can you describe what you mean by your character "dying"? Has he got Health or something? If so, are you sure you didn't put anything silly in the interaction editor/script?
If not, try explaining the problem a bit more.

~Yurina
Yuna: Give me a Y!
Rikku: Give me an R!
Paine: Give me a break...
~Final Fantasy X-2

I've been

Cino

I think he's talking about the other guy dieing, not the main character. But here's how I would do it - set a variable "guydead" or something like that to true after the guy has died and check the variables value before starting the conversation. Not sure if it's the best solution though.

Oasis

I didnt mean the main character dying, i meant the other guy!

Ashen

Quote from: Cino
But here's how I would do it ... Not sure if it's the best solution though.

Can't really think of any other way to do it - you could move the NPC to another room and shift a dummy character in (or turn on an object) to represent the body, but a variable is much easier. If the character changes view when it dies, you could use the Character.View property, but that's just a variable anyway.
I know what you're thinking ... Don't think that.

Oasis

Yeh I might have to turn the character into an object, and stop interacting with it!

Ashen

Why? Is using a variable not working?
The Interaction Editor commands (if you've still reluctant to use sctripting) would be 'Game - Set Variable Value' (when the charcter dies) and 'Conditional - If variable is set to a certain value' (to check whether or not to allow the interaction).
I know what you're thinking ... Don't think that.

Oasis

Yes it worked! Thanks for your advice ashen! All i had to do was set the variable! I can finally get on with my game! Oh yeh and how do u take screen shots because i would like to advatise my game on the other forum! Thank you!



SMF spam blocked by CleanTalk