HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need help with few triggers!

02-06-2007, 03:34 AM#1
SlickR
Hi all you helpful experts!
First: How do i make player 11 share experience with players 1-5.
Player 11 is a computer player and 1-5 are user players!
Also do user players automaticly share experience?
This is what i have:

**elenders_players is a veriabe
**defiler_layers is a variable

Trigger:
Player Group - Add Player 1 (Red) to Elenders_players
Player Group - Add Player 2 (blue) to Elenders_players
Player Group - Add Player 3 (teal) to Elenders_players
Player Group - Add Player 4 (purple) to Elenders_players
Player Group - Add Player 5 (yellow) to Elenders_players
Player Group - Add Player 6 (xxx)to Defiler_players
Player Group - Add Player 7 to Defiler_players
Player Group - Add Player 8 to Defiler_players
Player Group - Add Player 9 to Defiler_players
Player Group - Add Player 10 to Defiler_players
---groups alliance---
Player Group - Pick every player in Elenders_players and do (Player - Make (Picked player) treat Player 11 (Dark Green) as an Ally with shared vision)
Player Group - Pick every player in Defiler_players and do (Player - Make (Picked player) treat Player 12 (Brown) as an Ally with shared vision)
---comp elenders---
Collapse Player Group - Pick every player in Elenders_players and do (Actions)
Collapse Loop - Actions
Player - Make Player 11 (Dark Green) treat (Picked player) as an Ally with shared vision
Player - For Player 11 (Dark Green), turn Experience sharing On toward (Picked player)
-------- comp defilers --------
Collapse Player Group - Pick every player in Defiler_players and do (Actions)
Collapse Loop - Actions
Player - Make Player 12 (Brown) treat (Picked player) as an Ally with shared vision
Player - For Player 12 (Brown), turn Experience sharing On toward (Picked player)

And i have other trigger seting up enemies! -Is that required or are non-allied players autmaticly enemies?
02-06-2007, 04:47 AM#2
Jazradel
You need an event, like Map Initializtion. And the second part of your trigger had a couple of mistakes (the pick players shouldn't be inside each other.) And no, you shouldn't need to set up the enemies, it should be already done inside the Forces tab.
Trigger:
Collapse Events
Map Initialization
Collapse Actions
Player Group - Add Player 1 (Red) to Elenders_players
Player Group - Add Player 2 (blue) to Elenders_players
Player Group - Add Player 3 (teal) to Elenders_players
Player Group - Add Player 4 (purple) to Elenders_players
Player Group - Add Player 5 (yellow) to Elenders_players
Player Group - Add Player 6 (xxx)to Defiler_players
Player Group - Add Player 7 to Defiler_players
Player Group - Add Player 8 to Defiler_players
Player Group - Add Player 9 to Defiler_players
Player Group - Add Player 10 to Defiler_players
---comp elenders---
Collapse Player Group - Pick every player in Elenders_players and do (Actions)
Collapse Loop - Actions
Player - Make (Picked player) treat Player 11 (Dark Green) as an Ally with shared vision
Player - Make Player 11 (Dark Green) treat (Picked player) as an Ally with shared vision
Player - For Player 11 (Dark Green), turn Experience sharing On toward (Picked player)
-------- comp defilers --------
Collapse Player Group - Pick every player in Defiler_players and do (Actions)
Collapse Loop - Actions
Player - Make (Picked player) treat Player 12 (Brown) as an Ally with shared vision
Player - Make Player 12 (Brown) treat (Picked player) as an Ally with shared vision
Player - For Player 12 (Brown), turn Experience sharing On toward (Picked player)
02-06-2007, 06:07 AM#3
SlickR
ok tnh, i've imporved my ttigers as you writen but i still have the problem with player 11 and player 12 not sharing experience with user players 1-5, 6-10.

And i'm using this to enable my hero setup trigers:
Initialisation triger:
map initalisation
give players xxx gold.....
xxx
xxx
trigger: run trigger hero setup (ignoring conditions)

Also there is one more problem, elender and defiler creeps don't attack each-other! Elender creeps don't even attack Defiler's tower! they just rush to the region and then turn back to where they spawned!
this is what i'm using:
Elender creeps:

Trigger:
Collapse Events
Time - Every 30.00 seconds of game time
Conditions
Collapse Actions
Unit - Create 4 swordsman for Player 11 (Dark Green) at (Center of creeps Elenders <gen>) facing Default building facing degrees
Unit Group - Pick every unit in (Units in creeps Elenders <gen>) and do (Unit - Order (Picked unit) to Attack-Move To (Center of end defilers <gen>))
samo for defilers but at least defiler creeps attack Elender player 11 tower!
02-06-2007, 02:50 PM#4
SlickR
24 hours now and no new reply!
is this website dying or am i missing something?
02-06-2007, 03:21 PM#5
WNxCryptic
No, but you need to be patient for someone who is capable of helping you, instead of being impatient.

We are not here to serve you, unfortunately...which means you should be grateful for ANY help you get, whether you still have a problem or not.
02-07-2007, 02:35 AM#6
SlickR
Quote:
Originally Posted by WNxCryptic
No, but you need to be patient for someone who is capable of helping you, instead of being impatient.

We are not here to serve you, unfortunately...which means you should be grateful for ANY help you get, whether you still have a problem or not.
if you read carefully for a change you'll see that it passed 24 hours since the last reply. I can't wait a week! I mean come on those are easy questions and i'm sure lot of ppl know them. But i still feel the forum has too little visitors!
02-07-2007, 03:23 AM#7
Av3n
Well have you done anything about alliances a.k.a allies in scenario?

-Av3n
02-07-2007, 03:38 AM#8
WNxCryptic
Yea, you aught to be changing alliances through force properties, not through triggers.
02-08-2007, 02:44 PM#9
SlickR
TNH for replyes, but i got part of it it solved on other forum!
thread can be closed!
02-08-2007, 03:07 PM#10
The)TideHunter(
Quote:
Originally Posted by SlickR
24 hours now and no new reply!
is this website dying or am i missing something?

Quote:
Originally Posted by SlickR
if you read carefully for a change you'll see that it passed 24 hours since the last reply. I can't wait a week! I mean come on those are easy questions and i'm sure lot of ppl know them. But i still feel the forum has too little visitors!

24 hours is absolutely nothing.

Don't whine because your impatient, not everybody even gets a single reply, and if it is a easy question, why dont you solve it yourself?
You need to show some respect for the people here, they are people just like you and me, don't treat them as a easy way to finish your map.

But seriously, you think this forum is going dead because you, yes, you one person, out of hundreds of threads dident get a reply in just 24 hours. Seriously.
02-08-2007, 03:29 PM#11
blu_da_noob
People on this forum do not exist to help you. Anything they give is coming out of their free time. Being helped is a privilege, not a right. Treat it as such.
02-08-2007, 04:52 PM#12
Vexorian
Sorry but most of us are unable to help GUI questions, when I saw your code I just noticed a lot of non-understandable giberish. So I skipped it. No surprise another forum was better "help". Although real help would be forcing you to leave the bad habit of using GUI...