HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Apply an upgrade to other player

09-04-2004, 11:14 PM#1
Unknown6
Still i can't apply my upgrades to my ally. That is taking me too much time... i can solve it.

i asked it before, but no one was able to solve it. i'll try again (last post expired)

I use the following trigger:

*actions

create [#] [units] in [region] for player 9 facing [random point]

this simple trigger is taking me too much time... looooong time. why? simple:
the other trigger is:

events
a unit finishes an upgrade
actions
unit group - pick every units (of player9) in (all map) and do actions
--- unit - order [picked unit] to research/train finished upgrade

ok, the trigger is not exactly as i wrote.
the fact is that i can't find the proper trigger, the first trigger don't creates units with the ordered upgrade. i'm going crazy!! :\

should i create the units for me (to gain the upgrade) and then change the owner? it shouldn't be that way....

that's all.. c ya
09-05-2004, 04:05 AM#2
Unknown6
any 1??? -,_ - ;( :(
09-06-2004, 06:48 AM#3
Unknown6
i can' finish my mod...
i need that trigger ;)
09-06-2004, 09:44 AM#4
Unknown6
another question... any 1 knows the text colors? i only know 2

|cffc3dbff Light blue |r
|cffffcc00 Yellow |r

09-06-2004, 09:55 AM#5
shrimpchips
Quote:
Originally Posted by Unknown6
another question... any 1 knows the text colors? i only know 2

|cffc3dbff Light blue |r
|cffffcc00 Yellow |r


There is a tool is the files section that gives you all the text colors.
09-06-2004, 10:26 AM#6
Unknown6
-_-

certainly the windows's paint has that tool too. i'm talking 'bout in game text colors. (like underlined words. for example "press right-click to auto cast" "right-click" is in yellow and underlined. In world editor, object editor, abilities, it's shown as "press |n|c000fff right-click |r to auto cast" this value is yellow. The others? any1 knows?
09-06-2004, 11:50 PM#7
D[a]gger
My new AoS map had the same problem, but its easy.
say p1 = human player
p2 = cpu ally

e-p1 finishes reseaching weapon upgrade lvl 1
a-set current research lvl of weapon upgrade for player 2blue to lvl of weapon upgrade for player 2blue +1

dont know the exact wording cause editor's being dumb right now but thats pretty much how it goes.. works perfectly.
09-07-2004, 01:28 AM#8
ChaosChronicle
...ummm...

I thought u could do it directly by...

Player - Set upgrade = so and so

So... make it a periodic event that happens every .01 seconds
Player - Set [upgrade] = [upgrade level for p#]

At least I think thats possible, ah dont listen to me I havent tried anything like that in awhile... :god_help_us:
09-07-2004, 03:48 AM#9
Unknown6
no no and no. i doesn't work. A periodic event that happens every .01 seconds???? are u crazy. that lags!!!! every 0.01 secs??

p1 = human player
p2 = cpu ally

e-p1 finishes reseaching weapon upgrade lvl 1
a-set current research lvl of weapon upgrade for player 2blue to lvl of weapon upgrade for player 2blue +1

no no, the new created units, spawns with no upgrade/ability. Then i change his owner... but they are new and.. just don't get the upgrade.

anyway... for an ability? how should i do? thankx!
09-07-2004, 04:06 AM#10
Rafael Br
shrimpchips was refering to the colormanager 2, it does what you want, you chose a color, and it returns it's warcraft code.For your upgrade, you might need an unseen unit that researches all upgrades to research the researched upgrade type, using the Issue research order action.
09-07-2004, 02:35 PM#11
Unknown6
yeah, it's a good idea, the invisible unit... but well... i find that way... unsuitable
jajaj

yeap... i'll do it. i've spent 2 much time findin' another way. thnkx