| 12-01-2008, 10:55 PM | #1 |
Would this cause a desync? JASS:call DisplayTimedTextToForce(GetPlayersAll(), 15, "You will now gain 30 mana per second as long as you control" + GetUnitName(summonbldg[GetPlayerId(GetLocalPlayer())])) Thanks |
| 12-01-2008, 11:56 PM | #2 |
maybe, and its not cause of the function. Its cause of the string tables. to be safe, I would do: JASS:local string s local integer i = 0 loop exitwhen i > 11 set s = "You will now gain 30 mana per second as long as you control" + GetUnitName(summonbldg[GetPlayerId(Player(i))]) set i = i + 1 endloop |
