Please login or register.

Login with email, password and session length
 

News:

Happy 15th Birthday, Freedom Force!


Author Topic: EZScript Question - There Can Be Only One!  (Read 583 times)

Offline BentonGrey

  • Titans
  • Hero Member
  • Posts: 14268
    • The Greylands
EZScript Question - There Can Be Only One!
« on: July 09, 2014, 02:44:54 AM »
So guys, I'm working on an X-Men mission, and I'm wondering about how I might accomplish something slightly clever.  I want to make the mission be about protecting a character.  By that, I mean the entire mission, not just one encounter. 

For example, Prof. X has to be protected, and I want waves of minions to come at him, not just one massive mob.  That requires multiple encounters, meaning that I'd need to kill and respawn Xavier between each one to do this normally, OR only one of them could have protecting him as an actual condition.

So, is there any way that y'all can think of to do that?  Perhaps naming the character and recalling the name in each succeeding encounter?
God Bless
"If God came down upon me and gave me a wish again, I'd wish to be like Aquaman, 'cause Aquaman can take the pain..." -Ballad of Aquaman
Check out my DC voicepacks at my yahoo group.
http://games.groups.yahoo.com/group/bentongrey/
http://games.groups.yahoo.com/group/bentongrey2

Offline Cyber Burn

  • Hero Member
  • Posts: 7792
Re: EZScript Question - There Can Be Only One!
« Reply #1 on: July 09, 2014, 03:22:58 AM »
So, is there any way that y'all can think of to do that?  Perhaps naming the character and recalling the name in each succeeding encounter?

I have no clue what I'm talking about here, so I'll apologize in advance if I sound silly.

Can you name Prof X (Prof X1, Prof X2, ProfX3, etc) to trigger each encounter so you're not trying to have the "Same" Character trigger each encounter?

Offline spydermann93

  • Hero Member
  • Posts: 3729
Re: EZScript Question - There Can Be Only One!
« Reply #2 on: July 09, 2014, 03:48:10 AM »
I sent you a pm, Benton.

Hopefully the idea is at least a little decent :P

Offline joemama

  • Full Member
  • Posts: 159
  • Joe Mama Knows Best
Re: EZScript Question - There Can Be Only One!
« Reply #3 on: December 29, 2014, 05:34:21 PM »
Hate to necro-post, but I saw this a while ago and just now had an idea (better late than never?).  You can probably "fake" it by making one encounter where you protect the ally and then a series of encounters where villains attack your heroes.

1) Make it a timed mission.  Create a custom "protect" encounter with the mission time limit.   Try it without baddies, as defeating them will "end" the encounter.  In other words, the only ways for the "protect" encounter to end now would be if the time expired (success) or Prof X gets KO'd (failure).

2) Create however many "hunter-killer" encounters you want using "Villains Attack Innocent Allies" and "Villains Fight Heroes".  You can also try "Villains Hunt Enemy".

3) Wrap it up with an epilogue encounter/cut scene using "Starts When: Protection, HK## at End"


If the "hunter killers" aren't attacking your ally, you can try using the "Allies: Prof X named Prof X" trick on all encounters ("protect" included), but I think the "innocent allies" and/or "hunt enemy" actions will do it.  If you really get desperate you can try giving the baddies an aoe attack that will cause collateral damage to Prof X and nerf his hp so he gets KO'd quickly.
« Last Edit: December 29, 2014, 06:28:47 PM by joemama »

Offline BentonGrey

  • Titans
  • Hero Member
  • Posts: 14268
    • The Greylands
Re: EZScript Question - There Can Be Only One!
« Reply #4 on: August 16, 2015, 07:24:05 PM »
Joe, those are great ideas!  I need to adapt some of them.  The timed mission approach is particularly promising, I think.  Thanks for giving me your input!
God Bless
"If God came down upon me and gave me a wish again, I'd wish to be like Aquaman, 'cause Aquaman can take the pain..." -Ballad of Aquaman
Check out my DC voicepacks at my yahoo group.
http://games.groups.yahoo.com/group/bentongrey/
http://games.groups.yahoo.com/group/bentongrey2

Offline yell0w_lantern

  • Cut-rate Ringslinger
  • Hero Member
  • Posts: 2894
Re: EZScript Question - There Can Be Only One!
« Reply #5 on: August 21, 2015, 01:13:58 AM »
Wouldn't something like this work:

Quote
Story: MyStory

Encounter: Start
Type: Cutscene
Allies: professor_x named chuck

Start Cutscene:
Set lighting to day
Camera on chuck
Unfade
Hero says, "they're after the professor!"
Next: Wave 1

Encounter: Wave 1
Type: Custom
Actions: allies do not fight, allies follow heroes, allies remain after encounter ends,  minions start immediately, minions start at distance, villains start immediately, villains hunt heroes
Villains:
Minions:
Allies: professor_x named chuck
Next: If Ally Survives: Wave 2
Next: If Ally Lost: Lose

Alert Cutscene:
Ally says, "i sense danger!"


Enemies Down Cutscene:
Hero says, "so far, so good"


Ally Lost Cutscene:
Hero says, "oh, no! we've failed!"


Encounter: Wave 2
Type: Custom
Actions: allies do not fight, allies follow heroes,  allies remain after encounter ends,  minions start immediately, minions start at distance, villains start immediately, villains hunt heroes
Villains:
Minions:
Allies: professor_x named chuck
Next: If Ally Survives: Wave N
Next: If Ally Lost: Lose

Alert Cutscene:
Ally says, "i sense danger!"


Enemies Down Cutscene:
Hero says, "so far, so good"


Ally Lost Cutscene:
Hero says, "oh, no! we've failed!"



Encounter: Wave N
Type: Custom
Actions: allies do not fight, allies follow heroes,  allies remain after encounter ends,  minions start immediately, minions start at distance, villains start immediately, villains hunt heroes
Villains:
Minions:
Allies: professor_x named chuck
Next: If Ally Survives: Win
Next: If Ally Lost: Lose

Alert Cutscene:
Ally says, "i sense danger!"



End Cutscene:
Hero says, "i think we did it!"


Ally Lost Cutscene:
Hero says, "oh, no! we've failed!"
« Last Edit: August 21, 2015, 01:19:49 AM by yell0w_lantern »
Yellow Lantern smash!