• Welcome to Freedom Reborn Archive.
 

Problems with Chat encounter in EZScript

Started by lmalonsof, February 04, 2008, 01:21:30 AM

Previous topic - Next topic

lmalonsof

Hi,

I'm having problems with the chat encounter. It works fine when there is just 1 hero but it doesn't work when there are 2 heroes. I've tried using custom encounter and ally wants to chat as actions instead but in that case the encounter doesn't even start.

Thanks in advance!


M25

It appears to be working fine.  Please post your encounter.

lmalonsof

This was my encounter


Encounter: enc1
Type: Chat
Allies: cop
Marker: policestation

Alert Cutscene:
Yellow arrow on ally1

Chat Cutscene:
Cinematic camera on hero1
hero1 moves to ally1
hero2 moves to ally1
hero1 turns to ally1
hero2 turns to ally1
hero1 says, "Good evening officer."
ally1 turns to hero1
ally1 says, "Good to see you. We contacted you because of these attacks."

#-------------------------

This didn't work. After posting here I tried the same encounter without any reference to hero2:

Encounter: enc1
Type: Chat
Allies: cop
Marker: policestation

Alert Cutscene:
Yellow arrow on ally1

Chat Cutscene:
Cinematic camera on hero1
hero1 moves to ally1
hero1 turns to ally1
hero1 says, "Good evening officer."
ally1 turns to hero1
ally1 says, "Good to see you. We contacted you because of these attacks."

#-------------------------

And I don't know why this is working fine. Anyway, problem solved. Now I have another problem:

Encounter: enc5
Type: Custom
Actions: Allies Fight Villains, Villains Fight Heroes, Allies Thank Heroes
Villains: thug_with_gun, thug_with_bat, thug_with_grenade, thug_with_grenade, thug_with_grenade, thug_with_grenade
Allies: cop, cop, cop, cop
Objects: car_police, car_police
Marker: museum

Alert Cutscene:
Yellow arrow on villain1
Camera on hero1
cop says telepathycally, "Please respond!"
hero1 says, "Go ahead!"
cop says telepathycally, "We have a hostage situation in the museum!"

Start Cutscene:
Camera on ally1
ally1 says, "Leave them and we'll give you what you've asked!"
Cinematic camera on villain1
villain1 says, "We'll kill everybody! Kill the hostages, blow away the museum!"
Cinematic camera on hero1
hero1 moves to ally1
ally 1 turns to hero1
hero1 says, "We're going in! Cover the hostages!"

Ally wants to thank heroes Cutscene:
Cinematic camera on hero1
hero1 turns to ally1
ally1 turns to hero1
ally1 says, "That was close!"
hero1 says, "This can't be a coincidence."
ally1 says, "Well, tonight it's being a busy night! We are receiving a call from the Top Hat club!"
hero1 says, "We're on our way!"
#-------------------------

After the last cutscene, the following encounter doesn't initialize. I've tried each encounter separately and it seems there is no problem with them, so I suppose the problem should be in this one. I'm trying different things to bypass the problem, if I find any solution I'll post it here.

Thanks in advance

M25

telepathycally  should be telepathically

Also an encounter with Allies thank Heroes in it won't end until one of the heroes is close enough to one of the allies with the red attention marker over their head and you click on that ally.  (The ally has to actually thank the hero before the encounter will end.)

lmalonsof

Thanks! That should make it!

QuoteAlso an encounter with Allies thank Heroes in it won't end until one of the heroes is close enough to one of the allies with the red attention marker over their head and you click on that ally.  (The ally has to actually thank the hero before the encounter will end.)

Yeah I know. I click on the ally with the talk_to option, the cutscene happens and then nothing.

lmalonsof

I changed Allies thank heroes for Allies want to chat, and also I changed the cutscene for Chat cutscene and it seems to work!

Encounter: enc5
Type: Custom
Actions: Allies Fight Villains, Villains Fight Heroes, Allies Want To Chat
Villains: thug_with_gun, thug_with_bat, thug_with_grenade, thug_with_grenade, thug_with_grenade, thug_with_grenade
Allies: cop, cop, cop, cop
Objects: car_police, car_police
Marker: museum

Alert Cutscene:
Yellow arrow on villain1
Camera on hero1
cop says telepathically, "Please respond!"
hero1 says, "Go ahead!"
cop says telepathically, "We have a hostage situation in the museum!"

Start Cutscene:
Camera on ally1
ally1 says, "Leave them and we'll give you what you've asked!"
Cinematic camera on villain1
villain1 says, "We'll kill everybody! Kill the hostages, blow away the museum!"
Cinematic camera on hero1
hero1 moves to ally1
ally 1 turns to hero1
hero1 says, "We're going in! Cover the hostages!"

Chat Cutscene:
Cinematic camera on hero1
hero1 turns to ally1
ally1 turns to hero1
ally1 says, "That was close!"
hero1 says, "This can't be a coincidence. Someone is killing Patriot City big fishes... McDonald is dead and all that I have is a piece of junk from Mr Mechanical and some connections with Nuclear Winter."
ally1 says, "Well, tonight it's being a busy night! We are receiving a call from the Top Hat club!"
hero1 says, "We're on our way!"