Staredit Network

Staredit Network -> UMS Assistance -> How do i give units to Players from computer
Report, edit, etc...Posted by LegitXeris on 2004-12-04 at 02:00:05
In my map, i have 6 players, map will be very flexible so that if only 1or 2-5 players decide to play, they will equally get all of the 6th player's units. Likewise if only 1 or 2 players, then they will get all of player 3-6 units. Right now i have set all ghosts controlled by player 7 computer. i tried

condition
always

action
give 1 ghost owned by computer to player 1
give 1 ghost owned by computer to player 2
give 1 ghost owned by computer to player 3
give 1 ghost owned by computer to player 4
give 1 ghost owned by computer to player 5
give 1 ghost owned by computer to player 6
preserve trigger

this trigger only works 1/2 the way i want it too.... the computer gives those units to all of those players even if they are not in game.... so when i play by myself, i get attacked by 5 different players that are supposed to be human.
Report, edit, etc...Posted by DT_Battlekruser on 2004-12-04 at 02:10:12
do that, except do

Trigger
Players:
¤ Player 1
Conditions:
¤ Always
Actions:
¤ Give 1 Ghost from Player 7 to Player 1


and one for each player. Therefore, if the player isnt in the game, he doesn't get units.
Report, edit, etc...Posted by LegitXeris on 2004-12-04 at 02:21:31
hey that sounds good, i'll try that thanks.
Report, edit, etc...Posted by Mini Moose 2707 on 2004-12-04 at 14:30:44
Actually, simplify

Trigger
Players:
¤ Players Getting Units
Conditions:
¤ Always
Actions:
¤ Give 1 unit owned by Player 7 to Current Player
¤ Preserve Trigger
Report, edit, etc...Posted by illusion(SS) on 2004-12-04 at 14:44:11
or,

Give 1 unit owned by Player 7 to Force 1
Report, edit, etc...Posted by KaboomHahahein on 2004-12-04 at 15:17:19
I don't think force would work seeing as force 1 is all the players. Not sure. Current player is better.
Report, edit, etc...Posted by Turin on 2004-12-04 at 15:30:37
Just check it for players 1-6 and put "player 7 controlls at least 1 ghost, give 1 ghost to current player, preserve trigger" So it doesnt fire through the whole game.
Next Page (1)