HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Control Points Triggers. Help!

04-20-2003, 01:58 PM#1
Stormwraith
i need some help with a trigger system. it needs to serve as something like battlefield 1942's control points. What i have is 5 rescuable circle of powers. i have a leaderboard, and i want the triggers to do something like this.
team1
event-every 1 second of game time
condition- # of control points held by team1=3 is true
event- leaderboard set team2 score to( team2-1)
team2
same as above just switch team stuff.

something like that. my only problem is that i cant find a condition that would work like i want it to. any ideas? thanks.
04-20-2003, 02:22 PM#2
Guest
I think you can use the unit - change owner (or something like that) action. after, i think there is something like "Number of units owned by player matching condition" for your condition
04-20-2003, 02:31 PM#3
Stormwraith
yea i saw that but i need number of units owned by team or number of units owned by allies of player type conditions.
04-20-2003, 05:11 PM#4
Guest
And what's the problem ? you don't need that the circle of power belongs to the player who reach it. You just need to assign the circle of power to the player corresponding to the team. This can be player 11 for team 1 and player 12 for team 2 or if you use all, this can be neutral players(hostile/passive) or the first player of the team.
04-23-2003, 04:52 PM#5
Stormwraith
in that case what would i use for this
if a circle of power is rescued by. lets say, player1. (i plan on using a owner of trigering unit type thing tho. ) what would i need to do to assign that circle of power to the team1 player? thanks again
04-23-2003, 05:16 PM#6
Guest
How many players and how many teams do you have in your map ?
04-23-2003, 09:25 PM#7
Stormwraith
nevermind i figured it out. what i did was when a Circle of power is captured it checks to see who captured it, if it is player 1,2,3 or 4 it changes it to their team. if 5,6,7, or 8 it goes to their team. it checks # of players within range. thanks for all your help though!