🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!
There is Floating Text - Hide/Show For Force. So you just have to pick yourself a force that contains everyone but the unit's owner or you first hide the text for everyone and then display it to a force consisting only of the owner.
Are you serious about creating a force in the local block? Then it should be killed in same right away to not cause a desync. But you do not need the local block.
JASS:
function ShowTextTagForceBJ takes boolean show, texttag tt, force whichForce returns nothing
if (IsPlayerInForce(GetLocalPlayer(), whichForce)) then
// Use only local code (no net traffic) within this block to avoid desyncs.
call SetTextTagVisibility(tt, show)
endif
endfunction
Not sure what you mean by Force, and I don't know what to change in that custom script for, owner of unit, the trigger isn't triggered by a player or even a unit. It's being set by a variable.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.