HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Advanced Building

01-08-2006, 05:42 AM#1
Johnthebaker
So, I'm trying to make advanced building enabled for multiplayer.
this is one of the triggers that changes the advanced builder to the normal one, is there any way to make it so it only happens when a specific player pressed the build structure button?

Quote:

Advanced to normal 1
Events
Game - The 'Build Structure' button is clicked
Conditions
specific player presses the build structure thing condition here
(Unit-type of (Random unit from Selection1)) Equal to Militia advanced
Actions
Unit - Replace (Random unit from Selection1) with a Militia using The old unit's life and mana
Set LastNormalBuilder1 = (Last replaced unit)
Player Group - Pick every player in Player Group - Player 1 (Red) and do (Selection - Select LastNormalBuilder1)
Unit - Order LastNormalBuilder1 to Build
01-08-2006, 05:55 AM#2
PCPharaoh
Zoom (requires log in)
Attached Images
File type: gifuntitled.GIF (12.8 KB)
01-08-2006, 06:51 AM#3
Johnthebaker
i see how it is
01-08-2006, 07:12 AM#4
Jacek
What if you use getLocalPlayer()???
01-08-2006, 05:02 PM#5
PCPharaoh
Now that is really weird... Apparently the event does have a player argument. So add one for each player, and then in actions, use get triggering player. I would test it on multiplayer before you get too excited about it though, it might cause desyncs/lots of buggy stuff happening.
01-08-2006, 10:08 PM#6
Vexorian
When I saw advanced building implementations that actually worked, the Advanced building thing was actually a spell like metamorphosis or bear form