Results 1 to 8 of 8

Thread: Idiotic, newbie, easy to solve problem.

  1. #1
    its gives me an error when I do:
    _ab = rating p1;hint ab

    ab being a variable and p1 being a soldier, also, how do I do it where it does like:

    "Rating: (Whatever ab is)"




  2. #2
    Retired Moderator RalphWiggum's Avatar
    Join Date
    Jan 5 2002
    Location
    Implantsville, CA, USA
    Posts
    12,607
    try this

    _ab = rating p1;hint format["%1",_ab]
    Please read Forum Rules

  3. #3
    Thanks, one more thing, when I use the HINT command, how do I make it so it wont play the sound?

  4. #4
    Retired Moderator RalphWiggum's Avatar
    Join Date
    Jan 5 2002
    Location
    Implantsville, CA, USA
    Posts
    12,607
    that i have no idea...
    AFAIK,that is done by game engine itself...

  5. #5
    hmmm, well what I want is, lets say, have everyone's ratings displayed, is that possible? Or is it possible to have it displayed as it changes in the mission briefing?

  6. #6
    Retired Moderator RalphWiggum's Avatar
    Join Date
    Jan 5 2002
    Location
    Implantsville, CA, USA
    Posts
    12,607
    hhhhhhmmmmmmmmmm i doubt it.

    AFAIK, you donot have rating function from script/trigger. if you are in a MP game, you could press 'i', but in SP, i don't think so.

  7. #7
    A last question, can you make hints specific to the player? Like for player 1 I want it to display something different than for player 2. If not how do you get a players name?

  8. #8
    You could use titletext ["%1",_ab,"Plain down"]
    instead of "down" you could also use "in"
    down means it appears at bottom of the screen,
    in means it will be faded in at default place (center of screen)
    There are even more options, but you'd better have
    a look into some tutorials for that.
    You could also use this:
    player globalchat ["%1",_ab]

    The sound of the hint command i think, can only be altered
    or hidden, when editing the default game sounds, as satchel,
    wright or others did.
    http://www.swint.demon.nl/ofp/ofpec_work.gif
    Never argue with idiots - they just take you down to their level
    to beat you there with experience
    arabic objects/buildings thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •