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)"
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)"
try this
_ab = rating p1;hint format["%1",_ab]
Please read Forum Rules
Thanks, one more thing, when I use the HINT command, how do I make it so it wont play the sound?
that i have no idea...
AFAIK,that is done by game engine itself...
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?
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.
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?
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