|
Post by eenewbie93 on Feb 12, 2012 12:51:40 GMT
So, guys, I`m making my second scenario, which is also the first one in my first- own- made campaign: Finnish Campaign in WW2! The first map is almost ready, but I`m having problems trying to get some triggers to work and that`s why I`m asking for your help, dear EC members and admins! Triggers that I`m having trouble with the most are the diplomacy change trigger and timed attacks from somewhere to somewhere. If someone could help me with the triggers , please let me know Help will be appreciated! Read more: sotyscndesign.proboards.com/index.cgi?board=echelp&action=display&thread=950#ixzz1mBGJVkPe
|
|
Mr.UNleash
EC Core Team
Leave her alone you swine!
Posts: 571
|
Post by Mr.UNleash on Feb 12, 2012 18:09:29 GMT
For the timed attacks, could you give us an example of what trigger you are trying to do?
|
|
Shieldwolf
EC Admin
Just a regular guy in love with EE
Sorry Tal, I have to change the Custom Title. There is only one God :P
Posts: 2,436
|
Post by Shieldwolf on Feb 13, 2012 5:05:09 GMT
welcome to EC eenewbie! yes, mr. unleash is right. please expand on your requirements, and we are more than willing to help you with them.
|
|
|
Post by eenewbie93 on Feb 13, 2012 12:32:11 GMT
Well, let me give this kind of situation as an example: I have set enemy troops on the other side of the map, and I want them to attack my troops after a certain amount of time, let`s say, the first attack after 2 EE minutes, the next after 3, and the next after 4 minutes and so on. I`ve tried countless variations on how to get this to work, but the game just doesn`t want to cooperate with me Was that good enough or? I can sent the map to some soul if someone wants me to see the progress this far.
|
|
Shieldwolf
EC Admin
Just a regular guy in love with EE
Sorry Tal, I have to change the Custom Title. There is only one God :P
Posts: 2,436
|
Post by Shieldwolf on Feb 13, 2012 13:35:43 GMT
here's a sample trigger:
A. Spawning the Attackers
Areas Section: Area1 > select your area (call this SPAWN)
Objects Section: P2 > Object Specification > Marines 5 to 10 in SPAWN (call them ATTACKERS) P1 > Object Specification > Fortress 1 to 1 (call it FORT)
Effects Section: Create ATTACKERS (call this SPAWNING) Task Object ATTACKERS to FORT Attack-Move (call this ENEMY ATTACKS)
Triggers Section: If FORT exists Then, SPAWNING, delay 1 ENEMY ATTACKS
NOTE: It would be easier if the waves are regular in timing, i.e., enemy attacks always after 2 game minutes.
For that, you need to Check LOOPING, and Conditions True for 120 seconds (that's two game minutes).
If you want a trigger spawning attackers in different intervals, it would be complicated. For now, I suggest you just copy the triggers above DONT loop it, but put in your game minutes interval in the Conditions True for, i.e. one is 120 seconds, another is 180 seconds, 260 seconds, 360 seconds, and so on and so forth.
|
|