- Reaction score
- 1,694
Trigger:
- Monster House
- Events
- Conditions
- Boolean[(Integer(In))] Equal to True
- Actions
- For each (Integer A) from (Random integer number between 1 and 10) to (Random integer number between 25 and 50), do (Actions)
- Loop - Actions
- Set TempPoint[500] = (Random point in Monster House 1 <gen>)
- Set Level[(Integer(Player))] = (Player number of (Triggering player))
- Unit - Create 1 UnitType[(Random integer number between 0 and 11)] for Neutral Hostile at TempPoint[500] facing Default building facing degrees
- Unit - Order (Last created unit) to Attack HeroUnit[Level[(Integer(Player))]]
- Custom script: call RemoveLocation(udg_TempPoint[500])
- Loop - Actions
- For each (Integer A) from (Random integer number between 1 and 10) to (Random integer number between 25 and 50), do (Actions)
I know this trigger works for single player, as it attacks the default player, which is Red.
But, in multiplayer, I doubt this trigger works for everyone equally. So, I'm asking how should I make a lot of creeps to attack the nearest hero player, on condition the map is a full house game (12 players playing)?