So I am having some problems with the triggers in a campaign I'm making. The triggers are not finished yet but i tested to see if all the computers play their part how they should; they did not. I will list all the triggers and please can somebody tell me what is wrong. Problems: Player 1 and 7 never start doing anything, Player 4 and 6 only collect minerals. All infantry units enter bunkers properly instantly.
Triggers (Keep in mind, not finished):
Player 1 - Conditions : - Always
Actions: - Execute AI script 'Enter Closest Bunker' at 'Bunk22'.
- Execute AI Script 'Enter Closest Bunker' at 'Bunk23'.
- Execute AI Script 'Enter Closest Bunker' at 'Bunk 24'.
- Modify resources for Player 1 : Add 125000 Ore and Gas.
Conditions : - Elapsed scenario time is exactly 1200 game seconds.
Actions : - Execute AI script 'Terran Camapign Difficult' at 'Red'
----------------------------------------------------------------------------------------------------------------------------------------------------
Player 2 (Human Controlled) - Conditions : - Player 2 accumulates at least 0 Ore and Gas.
Actions : - Modify resources for Player 2 : Set to 2000 Ore and Gas.
----------------------------------------------------------------------------------------------------------------------------------------------------
To be finished later.
Post has been edited 1 time(s), last time on Sep 23 2007, 11:28 pm by Conen..
None.
Ahhh well, the computer never does anything anyway.
Post has been edited 1 time(s), last time on Sep 23 2007, 11:50 pm by Akar.
None.
Just upload the map, that will be easier.
None.
I'll e-mail it, who wants to look at it?
None.
You can just attach it to a post. If you seriously want to know exactly who you give it to, pm me it.
None.
You need to have the trigger under the player that the AI script is running for.
None.
Fine, attached map.
P.S. also i changed the money that the computers get and now players 3 and 5 dont even work.
Attachments:
None.
A good 2/3 of the time someone runs an AI script for a computer and the computer doesn't do what they wanted is because the computer's race is different than the race of the units and the AI script. Double check to make sure all 3 are the same before spending more time on the problem.
None.
They are all good, DL the map then tell me what you think. I'm clueless at this point.
None.
Set it from exactly to at least for the condition, it's possible that the trigger loop is skipping over those numbers.
None.
newer version that refuses to be e-mailed, don't bother downloading this unless you are me.
Attachments:
None.
Be creative, pm it to yourself next time
None.
Ok, everything is working how it should. Now for the hard part; the storyline.
None.
hahaha pm me the campaign when ur all done i want to play it.
None.
Ok sure but just a heads-up; I still suck at making campaigns.
None.
I remember my start
I am pretty sure I can put up with it
None.
I'm working on the first mission before the bridges mission, and i need some help with moving triggers. What i want to do, is have civilians PATROL through a city, can somebody paste a sample trigger for me i dont have any maps that i know of that have patroling triggers.
None.
We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
I'm working on the first mission before the bridges mission, and i need some help with moving triggers. What i want to do, is have civilians PATROL through a city, can somebody paste a sample trigger for me i dont have any maps that i know of that have patroling triggers.
Player controlling civs
ConditionsCurrent player brings at least 1 civ to loc A
ActionsOrder all civ at loc A patrol to loc B
preserve trigger
Make more start/end locations if you want them to patrol criss-cross around the city.
You can also make routes if you add more triggers:
Player controlling civs
ConditionsCurrent player brings at least 1 civ to loc B
ActionsOrder all civ at loc B patrol to loc C
preserve trigger
Player controlling civs
ConditionsCurrent player brings at least 1 civ to loc C
ActionsOrder all civ at loc C patrol to loc A
preserve trigger
Oh sweet thanks alot, it's really uneccesary but i just want to learn more advanced triggers.
None.
A good easy way to learn all the basic triggers is using the Help thing on regular StarEdit. For advanced triggers, just ask away. You'll eventually learn them on your own if you mess around with triggers and stuff.
None.