Hi,
In condition of spwaner trigger, with event timer, is it possible to make if for only player1 action == true execute action or if for only player2 action == true execute other action.
Now all players spawn units at the end of timer, but, if i want make for example p1 spwan = timer, p2 spawn = timer +25.0 ec.. for make one wave 2 player (p1 vs p4), second wave (p2 vs p5) and finally wave (p3 vs p6); after all reset all and restart p1 vs p4, p2 vs p5 and p3 vs p6.
In timer event ivent the player activator, and i dont know how to refer to a single player for do it.
Hope my very bad english it is comprensible, or i retry to explain
yes, for make more long the way of arena i move spawn region out of camera limit. I search to dont make more big the map for dont make it heavy. Now have only 1player vs cpu, but after i will want make 3v3 players and the map must to be not heavy.
i hope that my description of problem now it is more accurate:
I try to explain:
The last script make for example a Bmarine with route(plane i think it is more good word) 1x1 into a 1x1 area of player1. After the script, build a new units, by what it found on area 11 to 240, for example a Marine.
The problem is that:
when i make for example, a tank, a units that have trace 2x2, the script found one unit on lot of area :11,12,51,52 and dont work and make a error.
If i try to resize units route of a units 2x2 to 1x1, the script work, but if i make units near, the script make error. I think becouse found 2 units in the same area.
I hope to make problem more clear and comprehensible , if dont... i try again ^^
I post the latest map with error when try to build a tank. In game: Select Ajatax builder, on menu press F, after build a tank, S shortcut
P.s.
Excuse me for bad english, my english it is unforgivable
fixing waves by timer like what u told me. spwan units at periodic time event. Put some Bmarine and after x time, marine spawn on arena like old fix but after periodic time, in some position of bmarine, but on arena . Just add a periodic time event, and array bidimensional like what u told me for give last fix work with a periodical timer event . If u can/want..
NOTHING, my mind it is broke, can you help me for the last time? u can use the last map that i post here. Can u write me this? This is a last rock i think, for finish my project.
Soo, THX very much if u can or if u cant, for all your help u give to me.
bmarine it is a no attacker units. He is just what u build for waves 1Bmarie = 1marine on arena 1Bdevastator = 1 devastor on arena 34Bmarine = 34marine on arena in the same position of bmarine. Script of attak i think is not important, but if u need i post all code. More good, i post all project ^^ pls help me, im blocking
Trigger: quanti Bmarine entrano 1 it is the triger of problem
hi,
I build with my builder units, a BMARINE (custom marine) into region with ID 1, that have inside other ragions with id 11 to 240.
From here its all is ok.
I want when "X time go away", build into a ragion with id 11+1140 to 240+1140 a normal MARINE (not custom) into the same region of Bmarine but with ID+1140
I build a script but dont work. If i check into clicle that in region id 11to240 have a BMARINE, dont work. If i check into cicle that in region id11to240 have someone, script build me 240 marines units into region id1150 to 1380...
yeah.. that is problem.. if i build 1-2 x... BMARINE, in X different region, its not important, the wrong scritp, dont left work, and dont build anythingh or build in all region assigned to build
I want build ONE ONLY Bmarine at regionid 11 or 12 or 14 and 55... and found a Marine at region id: 11+1440 or 12+1440 or 14+1440 and 55+1440 ... in the same region id of Bmarine+1440. bUT, if BMARINE havent in some region ID, i want that script build anything
uhm ive a idea.. STORE x-y position of typeA on a variable and position typeB with storedvarible + x1 ...idk.. i try... but have a lot of variable to do, if have a more good method, it is good
20 x 20 positions x 6 players... very lot of numeber of variable..
I WILL SEE if with ARRAY[x][x] , i can do something where 1 it si the name of units and second the point of units
0
Hi, In condition of spwaner trigger, with event timer, is it possible to make if for only player1 action == true execute action or if for only player2 action == true execute other action.
Now all players spawn units at the end of timer, but, if i want make for example p1 spwan = timer, p2 spawn = timer +25.0 ec.. for make one wave 2 player (p1 vs p4), second wave (p2 vs p5) and finally wave (p3 vs p6); after all reset all and restart p1 vs p4, p2 vs p5 and p3 vs p6.
In timer event ivent the player activator, and i dont know how to refer to a single player for do it.
Hope my very bad english it is comprensible, or i retry to explain
0
oh, u are semple the best! if u are near me, now, i offer to you, lot of beers, thx very much again!
0
yes, for make more long the way of arena i move spawn region out of camera limit. I search to dont make more big the map for dont make it heavy. Now have only 1player vs cpu, but after i will want make 3v3 players and the map must to be not heavy.
0
i hope that my description of problem now it is more accurate:
I try to explain:
The last script make for example a Bmarine with route(plane i think it is more good word) 1x1 into a 1x1 area of player1. After the script, build a new units, by what it found on area 11 to 240, for example a Marine.
The problem is that:
when i make for example, a tank, a units that have trace 2x2, the script found one unit on lot of area :11,12,51,52 and dont work and make a error. If i try to resize units route of a units 2x2 to 1x1, the script work, but if i make units near, the script make error. I think becouse found 2 units in the same area.
I hope to make problem more clear and comprehensible , if dont... i try again ^^
I post the latest map with error when try to build a tank. In game: Select Ajatax builder, on menu press F, after build a tank, S shortcut
P.s. Excuse me for bad english, my english it is unforgivable
0
yeah, i have a new problem incoming.
Now the project take soo big, and work very well.
But i found problem when i try to position a unit more big than 1x1.
for example a tank that have tile 2x2.
Have u some idea about for resolve the problem?
Ive think to make other area 2x2, but that hurt, lot of location areas on map, and ive to duplicate all script. I dont want make heavy all. Some idea?
thx, bye bye
0
thx very much. Thousand of THX, script work very well.
0
fixing waves by timer like what u told me. spwan units at periodic time event. Put some Bmarine and after x time, marine spawn on arena like old fix but after periodic time, in some position of bmarine, but on arena . Just add a periodic time event, and array bidimensional like what u told me for give last fix work with a periodical timer event . If u can/want..
best reguard
0
NOTHING, my mind it is broke, can you help me for the last time? u can use the last map that i post here. Can u write me this? This is a last rock i think, for finish my project. Soo, THX very much if u can or if u cant, for all your help u give to me.
Bye
0
thx, i try it
0
this script dont work if i make a timer for wave on condition. like:
TriggerAddEventTimePeriodic(10,c_timeGame)
becouse the script into variable enteringpoint use EventUnit() and also it dont storage all position but last position
0
thx very much, it is what i want. Best reguard
P.s. Sorry, second time i work with editor of sc2, and i use a buider scripting inside; i think i make some error that u correct.
THX VERY MUCH AGAIN, U ROCK!
0
bmarine it is a no attacker units. He is just what u build for waves 1Bmarie = 1marine on arena 1Bdevastator = 1 devastor on arena 34Bmarine = 34marine on arena in the same position of bmarine. Script of attak i think is not important, but if u need i post all code. More good, i post all project ^^ pls help me, im blocking Trigger: quanti Bmarine entrano 1 it is the triger of problem
if u need more info, tell me pls. thx
0
no one can help me?
0
hi, I build with my builder units, a BMARINE (custom marine) into region with ID 1, that have inside other ragions with id 11 to 240.
From here its all is ok. I want when "X time go away", build into a ragion with id 11+1140 to 240+1140 a normal MARINE (not custom) into the same region of Bmarine but with ID+1140 I build a script but dont work. If i check into clicle that in region id 11to240 have a BMARINE, dont work. If i check into cicle that in region id11to240 have someone, script build me 240 marines units into region id1150 to 1380... yeah.. that is problem.. if i build 1-2 x... BMARINE, in X different region, its not important, the wrong scritp, dont left work, and dont build anythingh or build in all region assigned to build
with:
(UnitGetType(RegionGetAttachUnit(RegionFromId(lv_cicloposizioni))) == null)
with:
(UnitGetType(RegionGetAttachUnit(RegionFromId(lv_cicloposizioni))) != null)
build nothing.
Here the code:
in finish:
I want build ONE ONLY Bmarine at regionid 11 or 12 or 14 and 55... and found a Marine at region id: 11+1440 or 12+1440 or 14+1440 and 55+1440 ... in the same region id of Bmarine+1440. bUT, if BMARINE havent in some region ID, i want that script build anything
0
uhm ive a idea.. STORE x-y position of typeA on a variable and position typeB with storedvarible + x1 ...idk.. i try... but have a lot of variable to do, if have a more good method, it is good
20 x 20 positions x 6 players... very lot of numeber of variable..
I WILL SEE if with ARRAY[x][x] , i can do something where 1 it si the name of units and second the point of units