Floating Texts Not Showing Up?

Knights

You can change this now in User CP.
Reaction score
71
So yeah I have a trigger that creates a bunch of floating texts and displays them, but the displaying doesn't work. Also, I know it is actually creating them, because it DOES work when I enable the ? mark when you acquire a quest, just the ! mark won't show up before you get the quest.

Code:
Floating Text
    Events
        Time - Elapsed game time is 0.01 seconds
    Conditions
    Actions
        -------- Quest1 --------
        Floating Text - Create floating text that reads ! at (Center of Region 104 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 0.00%), and 0.00% transparency
        Set FloatTextExclamation1 = (Last created floating text)
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                Floating Text - Show FloatTextExclamation1 for (Player group((Picked player)))
        Floating Text - Create floating text that reads ? at (Center of Region 104 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 0.00%), and 0.00% transparency
        Set FloatTextQuestion1 = (Last created floating text)
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                Floating Text - Hide FloatTextQuestion1 for (Player group((Picked player)))

Yet this code seems to get the ? mark to show:

Code:
GuideQuest
    Events
        Player - Player 1 (Red) Selects a unit
        Player - Player 2 (Blue) Selects a unit
        Player - Player 3 (Teal) Selects a unit
        Player - Player 4 (Purple) Selects a unit
        Player - Player 5 (Yellow) Selects a unit
        Player - Player 6 (Orange) Selects a unit
        Player - Player 7 (Green) Selects a unit
        Player - Player 8 (Pink) Selects a unit
        Player - Player 9 (Gray) Selects a unit
        Player - Player 10 (Light Blue) Selects a unit
    Conditions
        (Triggering unit) Equal to Guide 0528 <gen>
    Actions
        Floating Text - Hide FloatTextExclamation1 for (Player group((Triggering player)))
        Floating Text - Show FloatTextQuestion1 for (Player group((Triggering player)))

Anyone know the problem?

Thanks,
Knights:cool:
 

LoveTD's

New Member
Reaction score
34
You don't have to do it that way, you can always use the: create special effect on unit's overhead and then choose the ! or ? mark thats in the category extra... (b.t.w. these marks are 3D so that also gives a better look...) but If you want to do it that way I can't help you with that :S and if you want to hide it you could destroy the mark... shall I give you the trigger? (nvm I'll just do it to help you out :D)
Code:
guidequest
    Events
        Player - Player 1 (Red) Selects a unit
    Conditions
        (Unit-type of (Triggering unit)) Equal to Footman
    Actions
        Special Effect - Destroy example
        Special Effect - Create a special effect attached to the overhead of (Triggering unit) using Objects\RandomObject\RandomObject.mdl
        Set example = (Last created special effect)

Code:
Time elapsed
    Events
        Time - Elapsed game time is 5.00 seconds
    Conditions
    Actions
        Special Effect - Create a special effect attached to the overhead of Bank 0003 <gen> using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
        Set example = (Last created special effect)

and so on... but if you really really need the floating tekst then I can't help sry... ow oops the first trigger is wrong because it destroys the mark of the unit you click with your player, you can figure that out by yourself I geuss, and if you can't just tell it here :D (and I'm not sure if it works but you can also use these things to let only 1 player show the marks...:
Code:
Custom script:   If GetLocalPlayer() == Player(playernumber-1*) then
-------- Your actions for player 1 here! --------
Custom script:   Endif

*playernumber-1 means you have to put it for the player you want -1 so for an example if you want it to be for player 1 then it should be 0 player 2 = 1 player 3 = 2 and so on... I'm not quite sure if it works for special effects but try it out :p

So for an example:

Code:
Custom script:   If GetLocalPlayer() == Player(0) then
Special Effect - Create a special effect attached to the overhead of Bank 0003 <gen> using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
Custom script:   Endif

ow yeah I haven't looked real good at your trigger but the mark is at a region? no problem then use special effect - create a special effect on point
 

Iwan_Krissov

New Member
Reaction score
18
maybe there can only be one floating text on a units position at the time, so that creating the "?" overrides the "!"?

just a guess...
 

Knights

You can change this now in User CP.
Reaction score
71
@LoveTDs:
I am using floating texts on purpose; you can client side them (Without JASS (And even with JASS I don't think you can create special effects that are only for one player)), so only one player sees the change when he finishes a quest and the other players still see an exclamation mark or whatever.

@Iwan_Krissov:
You could be right, and maybe by creating two floating texts on the same region the second overwrites the first. I will try it with two separate regions.
 

LoveTD's

New Member
Reaction score
34
ow ok I've understood you wrong... hope you'll figure it out :D (I'll test it with jass ^^)
 

hell_knight

Playing WoW
Reaction score
126
I think text that is created is already displayed to the players so you can get rid of those 2 uneeded lines. May also be causing problem who knows blizzard.
 

LoveTD's

New Member
Reaction score
34
I am using floating texts on purpose; you can client side them (Without JASS (And even with JASS I don't think you can create special effects that are only for one player)), so only one player sees the change when he finishes a quest and the other players still see an exclamation mark or whatever.

I like this part:

(And even with JASS I don't think you can create special effects that are only for one player)

Thats not true...
I tested it myself and it works so you can use that if you like... go to action and use:
Code:
Custom Script: if GetLocalPlayer() == Player(0) then
(create or remove some special effects)
Custom Script: endif
(b.t.w. this also works with multiboards...)
and else try making more regions...
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top