QUOTE(.Coko[CK] @ May 11 2005, 04:38 AM)
What the hell would be the point of that, since it has no function in Starcraft Triggers, as they are all set a certain way, the only benefit would be a long winded system where you'd type a smaller amount of shit in, and the program converted it into longer Starcraft shit.
[right][snapback]204921[/snapback][/right]
For the sake of respecify the value of X under a different player to change and make X apply for that player.
I don't really know if this will be possible, but see -
(Under Player 1)
X = 1;
Player X (etc.)
Conditions:
Deaths("Player "+X, "Marine", exactly, 1);
Actions:
CreateUnit("Player "+X, "Marine", 1, "[P"+X+"]Spawn"); (not sure of trigger order) [Function(Player, Unit, number, location]
There for if you have many instances of that trigger, and locations are only based on numerical differences, like "[P1]"Spawn and "[P2]Spawn", then you can do this.
(Under Player 2)
X = 2; (changing value)
Player X (etc.)
Conditions:
Deaths("Player "+X, "Marine", exactly, 1);
Actions:
CreateUnit("Player "+X, "Marine", 1, "[P"+X+"]Spawn"); (not sure of trigger order) [Function(Player, Unit, number, location]
then it should work for player 2.