Pls organize trigger better.
Try this:
-
Buy Runes
-

Events
-


Unit - A unit Sells a unit
-

Conditions
-

Actions
-


Set TempUnitType[0] = (Unit-type of (Sold unit))
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




Or - Any (Conditions) are true
-





Conditions
-






TempUnitType[0] Equal to Rune of Blood Violence (bonus)
-






TempUnitType[0] Equal to Rune of Brilliance (bonus)
-






TempUnitType[0] Equal to Rune of Broken Heart (bonus)
-






TempUnitType[0] Equal to Rune of Cheese (bonus)
-






TempUnitType[0] Equal to Rune of Shadows (bonus)
-






TempUnitType[0] Equal to Rune of Guitar Solo (bonus)
-






TempUnitType[0] Equal to Rune of Heart of Courage (bonus)
-






TempUnitType[0] Equal to Rune of Rush (bonus)
-






TempUnitType[0] Equal to Rune of Spirit Bond (bonus)
-






TempUnitType[0] Equal to Rune of True Power (bonus)
-






TempUnitType[0] Equal to Rune of Wings (bonus)
-



Then - Actions
-



Else - Actions
-


Neutral Building - Remove TempUnitType[0] from all marketplaces
-


-------- - --------
-


-------- If you are still able to select the marketplace: --------
-


-------- - --------
-


Set TempUnit[0] = (Selling unit)
-


Neutral Building - Remove Rune of Blood Violence (bonus) from TempUnit[0]
-


Neutral Building - Remove Rune of Brilliance (bonus) from TempUnit[0]
-


Neutral Building - Remove Rune of Broken Heart (bonus) from TempUnit[0]
-


Neutral Building - Remove Rune of Cheese (bonus) from TempUnit[0]
-


Neutral Building - Remove Rune of Shadows (bonus) from TempUnit[0]
-


Neutral Building - Remove Rune of Guitar Solo (bonus) from TempUnit[0]
-


Neutral Building - Remove Rune of Heart of Courage (bonus) from TempUnit[0]
-


Neutral Building - Remove Rune of Rush (bonus) from TempUnit[0]
-


Neutral Building - Remove Rune of Spirit Bond (bonus) from TempUnit[0]
-


Neutral Building - Remove Rune of True Power (bonus) from TempUnit[0]
-


Neutral Building - Remove Rune of Wings (bonus) from TempUnit[0]
-


-------- - --------
-


-------- Or just remove the marketplace as the other players have their own. --------
-


-------- - --------
-


Unit - Remove TempUnit[0] from the game
-


-------- - --------
-


-------- Add additional effects to each individual rune: --------
-


-------- - --------
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




TempUnitType[0] Equal to Rune of Blood Violence (bonus)
-



Then - Actions
-




-------- Do stuff. --------
-




Skip remaining actions
-



Else - Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




TempUnitType[0] Equal to Rune of Brilliance (bonus)
-



Then - Actions
-




-------- Do stuff. --------
-




Skip remaining actions
-



Else - Actions
-


-------- - --------
-


-------- End of Trigger. --------
-


-------- - --------
Also, copy the marketplace and paste it so you have 2 marketplaces.
Both are exactly the same, except their model.
The second one is going to have nothing as model so it is completely invisible and unclickable in game.
Then you can make 12 marketplaces and use GetLocalPlayer() to have the marketplace of the owner have the unit type of the model and have the other players have the marketplace without model.
So you see only one marketplace but there are 12, you can only click and select your own marketplace.
(However, you are unable to buy if another unit was near I guess.)
I hope this works:
-
Create Markets
-

Events
-

Conditions
-

Actions
-


Custom script: set udg_TempPlayer[0] = GetLocalPlayer()
-


Set TempLocation[0] = (Point(0.00, 0.00)) <<<location there
-


Player Group - Pick every player in (All players) and do (Actions)
-



Loop - Actions
-




Set TempPlayer[1] = (Picked player)
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






TempPlayer[0] Equal to TempPlayer[1]
-





Then - Actions
-






Unit - Create 1 Marketplace (real) for TempPlayer[1] at TempLocation[0] facing Default building facing degrees
-





Else - Actions
-






Unit - Create 1 Markeplace (fake) for TempPlayer[1] at TempLocation[0] facing Default building facing degrees
Otherwise you have to use custom scripts with the actual CreateUnit() native.
Which means that you need a custom script containing this:
-
Custom script: call CreateUnit( udg_TempPlayer[1], 'h000', udg_TempReal[0], udg_TempReal[1], 0)
Where TempReal[0] is the X of TempLocation[0] and TempReal[1] is the Y of TempLocation[0].
Also 'h000' has to be replaced by the rawcode of Marketplace (real) and Marketplace (fake).
However, I suggest you to just test the GUI actions (in multiplayer) before going to custom scripts.