crashdodgers
9 years ago
Hi, well I am trying to work on a mission map that I have made, but I having trouble figuring out how to set up the scripting for a trigger area, i.e. I am trying to script actions in and around a triggered event in the game. I have part of the script done but am unable to quite workout the rest.

What I am trying to do is get an enemy unit to to do certain things once the trigger has be activated, i.e. I want an enemy base commander to escape capture, in order to trigger other events on the map. Now I have all the relevant buildings, units, trigger area and way points set up, but it is just sorting out the scripting for the triggered event, including the possibility of set up of some sort of cutscene to go with the triggered event.

So here is what should happen in the mission.

1. Intro, able to do this
2. Hero team enter map, have not decided how they are going to enter map
3. Hero team set up base and scot area
4. Hero team locate abandoned Faction base and take it over, triggering scripting copied from ZHUSA-md05 and 1st enemy sub base to become active and start hunting, can do this my self
5. Scot and capture 1st enemy sub base, triggering cutscene, having trouble with scripting this bit
6. Triggered cutscene see enemy unit escape and trigger a new phase of mission, i.e. enemy 2nd sub base becomes active and start hunting
7. Again same as 5
8. Triggered cutscene see enemy units escape and trigger a new phase of mission, i.e. enemy main base becomes active triggering final phase of mission, i.e. seek and destroy
9. End cutscene, can work on that or might copy ZHUSA-md05 end script

So what it is I need is help working out the scripting to make the escape/cutscene work! Or could I use the same scripting as the intro to do this or will I need a new set of scripts?
Sponsor
AdrianeMapMaker
9 years ago
Hey .. i will tell you something that may help you scripting is logic use your common-sense to find them

tips in your mission map
-in your map you should be expert on camera or putting you camera in right position
-you should add some briefing caption in intro or the movie that might help the player how to understand the movie

bro you should send a pic here that might help us
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




crashdodgers
9 years ago
OK, as requested I have attached 4 jpegs, 2 showing the two bases layout and 2 showing close up of start point and finish points.

As you can see everything is in place, all I have to do is sort out the cutscene,I have made basic intros for other maps and can do the same for this one, but it is just getting my head around the making of the cutscene and once I have made it, I can then make a second cutscene for the triggering of phase 3/final part of the mission. As well as little extra bits here and there, but it is just doing the first one that is so hard.   POWCamp_01.jpg (842kb) downloaded 10 time(s).   POWCampCommandantsHouse.jpg (993kb) downloaded 9 time(s).   SecretTechLabBase.jpg (797kb) downloaded 9 time(s).   SecretTechLabBase_02.jpg (758kb) downloaded 9 time(s).
AdrianeMapMaker
9 years ago

Hi, well I am trying to work on a mission map that I have made, but I having trouble figuring out how to set up the scripting for a trigger area, i.e. I am trying to script actions in and around a triggered event in the game

Originally Posted by: crashdodgers 



what do you mean trouble ,they don't work ??

sometime i having trouble with those trigger area ... you should use here a timer for those action or just ...

Use the area to triggered your action , just like if someone try to go the specific area a specific script will be triggered to action
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage