- Joined
- Aug 30, 2009
- Messages
- 114
Hello everyone, I'm having some strange issues with floating texts in multiplayer.
When I play my map alone, all floating text works just fine, but when in multiplayer, they sometimes don't show up!!!
The whole script works, but the floating text doesn't !!!
So, here is how I was creating the Floating Texts...
But it doesn't work so then I tried this way:
... but it doesn't work neither!! Can someone tells me what in seven hells is going on????
This seems to happen only in multiplayer, with all players including me (red, host)
Thanks
When I play my map alone, all floating text works just fine, but when in multiplayer, they sometimes don't show up!!!
The whole script works, but the floating text doesn't !!!
So, here is how I was creating the Floating Texts...
JASS:
local texttag te = CreateTextTag()
call SetTextTagText(te, "EXEMPLE", 0.024)
call SetTextTagPos(te, GetUnitX(u), GetUnitY(u), 0.00)
call SetTextTagColor(te, 255, 155, 155, 255)
call SetTextTagVelocity(te, 0, 0.04)
call SetTextTagVisibility(te, true)
call SetTextTagFadepoint(te, 2)
call SetTextTagLifespan(te, 5)
call SetTextTagPermanent(te, false)
set te = null
But it doesn't work so then I tried this way:
JASS:
local texttag te = CreateTextTag()
call SetTextTagText(te, "EXEMPLE", 0.024)
call SetTextTagPos(te, GetUnitX(u), GetUnitY(u), 0.00)
call SetTextTagColor(te, 255, 155, 155, 255)
call SetTextTagVelocity(te, 0, 0.04)
if (IsPlayerInForce(GetLocalPlayer(), bj_FORCE_ALL_PLAYERS)) then
call SetTextTagVisibility(te, true)
endif
call SetTextTagFadepoint(te, 2)
call SetTextTagLifespan(te, 5)
call SetTextTagPermanent(te, false)
set te = null
... but it doesn't work neither!! Can someone tells me what in seven hells is going on????
This seems to happen only in multiplayer, with all players including me (red, host)
Thanks