Game Message Text

SgtBarlowSgtBarlow Level Designer Join Date: 2003-11-13 Member: 22749Members, NS2 Developer
<div class="IPBDescription">Help</div> I tried setting up a func_prescence so when you stand init it targets game_message but nothing happens. is game_message right entity to use? It must be cause it's only one I can find that looks like it's supposed to print out messages.
I only want the message to appear on the screen of the * Activator *..,

Does func_precense work for this or will it only work with a func_button ?

Comments

  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    game_text works as well, I actually don't have game_message on my list of ns entites, but I could be having a case of the stupids again.
  • SgtBarlowSgtBarlow Level Designer Join Date: 2003-11-13 Member: 22749Members, NS2 Developer
    No, i think it's me who got the stupids, I was ment to say game_text.
    It isnt working.
  • GiGaBiTeGiGaBiTe Join Date: 2003-10-07 Member: 21489Members
    i thought it was a trigger_presence?
  • HuzeHuze Insightful Join Date: 2003-11-12 Member: 22724Members, NS1 Playtester, NS2 Playtester, Squad Five Blue, Reinforced - Shadow
    <!--QuoteBegin-GiGaBiTe+Feb 10 2005, 02:47 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (GiGaBiTe @ Feb 10 2005, 02:47 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> i thought it was a trigger_presence? <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Does is matter?

    For your game_text, you might want to make sure it has the "All Players" flag checked. It might be working, just not showing up to you.
  • GiGaBiTeGiGaBiTe Join Date: 2003-10-07 Member: 21489Members
    well if hes using a non-existant entity to trigger something, then it wont work.

    a better way to trigger a game text is to use a trigger_multiple.
  • SgtBarlowSgtBarlow Level Designer Join Date: 2003-11-13 Member: 22749Members, NS2 Developer
    edited February 2005
    <!--QuoteBegin-Hi!+Feb 10 2005, 08:57 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Hi! @ Feb 10 2005, 08:57 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin-GiGaBiTe+Feb 10 2005, 02:47 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (GiGaBiTe @ Feb 10 2005, 02:47 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> i thought it was a trigger_presence? <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    Does is matter?

    For your game_text, you might want to make sure it has the "All Players" flag checked. It might be working, just not showing up to you. <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    Damn it, Yes All Playes flag made it work. It's not what I want at it to do at all though.
    I guess that means a func_precence must not be coded to send data on who the *Activator* is for it to be able to target the client who triggered it?
  • GiGaBiTeGiGaBiTe Join Date: 2003-10-07 Member: 21489Members
    do you want it to display the message for only the person that triggers it? or do you want everyone in the map to see the message?

    heres an example for the message showing to the person that triggered it

    <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->create a trigger_multiple

    set these keys on it:

    target message1
    delay 0
    wait 0

    then create a game_text

    set these keys on it

    targetname message1
    message "bla bla bla"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
  • GiGaBiTeGiGaBiTe Join Date: 2003-10-07 Member: 21489Members
    i made a quick example. to activate the message, stand on the platform.
  • SgtBarlowSgtBarlow Level Designer Join Date: 2003-11-13 Member: 22749Members, NS2 Developer
    edited February 2005
    Im sorry GiGaBiTe but nothing you said is of any help at all and come not much scense.
    Did you actually read the posts properly?
    I know your trying to help but you really shouldnt answer unless you are sure.

    I setup a trigger_presence targeting a game_text but only shows a message when "All Players" is set. So it indicates that you <u>cannot</u> have a trigger_presence trigger a game_text to display a message to the persone who triggered it.

    I aint gonna bother with it now scince it does not work.
  • GiGaBiTeGiGaBiTe Join Date: 2003-10-07 Member: 21489Members
    dude, dont use a trigger_presence, use a trigger_multiple. unless you are trying to make only one person from only marines or aliens to see it. thats what the example shows. a trigger_multiple triggering a game_text to only show it to the specified player that activates it. i tested it after i made it, and it works fine.
Sign In or Register to comment.