Freedom Reborn

Freedom Force Forums => Scripting Forum => Topic started by: BentonGrey on November 08, 2018, 03:23:42 AM

Title: DCUG Problem
Post by: BentonGrey on November 08, 2018, 03:23:42 AM
Howdy folks!  I figure this is probably a lost cause, given that I'm likely the only one left active on the forums who really knows EZScript, but I need some help and there's no harm in asking.

I've got a JLA mission in which you rescue various team members, having them join you.  I am getting the characters 'joining' twice, with only one character on the map, but them taking two slots on the team.  Thus, if you free Flash, he becomes your third AND fourth characters.  He has two portraits, and there is no room for anyone else.  I'm using a custom encounter in order to have all the different factors I need, and I am stumped as to why this is happening.

QuoteEncounter: Chill1
Type: Custom
Actions: allies become controllable, allies fight villains, allies follow heroes, allies remain after encounter ends, allies frozen, allies can be freed, allies move when freed
Allies: flash
Marker: snow2
Primary Objective: "Free Flash from his frozen prison" for 1000 prestige
Next: If Ally Survives: None
Next: If Ally Lost: Final2

I thought it might be being caused by an additional 'ally thanks hero' action, as that sort of drags the encounter our, even after the villains are defeated.  When I removed that action, the problem stopped...but then it came back.  I've got no clues here, and it is making the whole mission not work properly.  Anyone know anything?
Title: Re: DCUG Problem
Post by: BentonGrey on November 11, 2018, 03:09:53 AM
Hey DJ, thanks for the response man!  It's an interesting theory, and I appreciate you spitballing with me.  Unfortunately, no luck.  The follow and join commands do different things, but I tried it just in case.  Eventually I had to give up.  I created a workaround where I split things into two encounters.  I just had a normal old rescuable Flash, then killed him off and spawned an allied Flash.  Ahh well.  It looks like I'm going to have to do that a few more times too.
Title: Re: DCUG Problem
Post by: Cyber Burn on March 28, 2019, 05:01:03 AM
I don't know anything about EZScript either, so I'm just throwing things out there too.

Could it be the order of your Actions? What would happen if you started with "allies freed", etc.. and then went to "allies become controllable "?
Title: Re: DCUG Problem
Post by: OrWolvie1 on March 28, 2019, 07:14:48 AM
Quote from: BentonGrey on November 08, 2018, 03:23:42 AM
Howdy folks!  I figure this is probably a lost cause, given that I'm likely the only one left active on the forums who really knows EZScript, but I need some help and there's no harm in asking.

I've got a JLA mission in which you rescue various team members, having them join you.  I am getting the characters 'joining' twice, with only one character on the map, but them taking two slots on the team.  Thus, if you free Flash, he becomes your third AND fourth characters.  He has two portraits, and there is no room for anyone else.  I'm using a custom encounter in order to have all the different factors I need, and I am stumped as to why this is happening.

QuoteEncounter: Chill1
Type: Custom
Actions: allies become controllable, allies fight villains, allies follow heroes, allies remain after encounter ends, allies frozen, allies can be freed, allies move when freed
Allies: flash
Marker: snow2
Primary Objective: "Free Flash from his frozen prison" for 1000 prestige
Next: If Ally Survives: None
Next: If Ally Lost: Final2

I thought it might be being caused by an additional 'ally thanks hero' action, as that sort of drags the encounter our, even after the villains are defeated.  When I removed that action, the problem stopped...but then it came back.  I've got no clues here, and it is making the whole mission not work properly.  Anyone know anything?

Hey BG. I'm no expert by any means on EZ, but I have to wonder if the problem might come from the allies become controllable and the allies remain after encounter ends? To me, it appears to be a duplication in command and perhaps that is causing said issue. Just a thought.