target_credits spawnflags
1 - Send output to the player's console
2 - Do not send output to the player's screen
and maybe:
4 - Send output to the chatbox (private message)
- Login to post comments
Laziness.
holy fisk just add target_print spawnflags 12 or 20 o_o
how lazy ppl is now >_o
I don't see the purpose of this. Why would you want it NOT to display on the screen? It does that automatically.
The lmd_terminal spawnflags are messy, they are only like that to keep the default behavior.
Doubt I will add this, I just started attempting to standardize the credits output everywhere for the player's sake. No one but the player needs to know how many credits they picked up anyway.
Leaving at pending, for now. Will wait on some more opinions.
the only use I see in this would really be that you could see the amount you got in the console in the event that a announce was on the screen or w/e,
but tbh it doesn't happen often enough to make it worth putting in
There already are spawnflags for no screen print (and also no sound),
try spawnflags,1 or 2.
As for sending to chatbox, i would like that too, for random credits.
I wanted this a while back, but ended up just using non random credits.
Ideally i would like all three options of the target_print (chat area, echo area, screen). Which kind of makes you think that there should be another way, and just use target_print.
It's not urgent.
ok i can see the use for this now
sometimes people miss the amount on the screen and dont know how much they got or if they got anything
| Status: | Pending | » | Will not add |
Credit message is already shown in the player's console.
Will not add the spawnflags. As mentioned above, credit messages should be standard.
- Login to post comments

But what if the target_credits is using a ,random, key? How would you show that with a target_print?
Or if I want to remove the message from the screen?
Or even if I have more than 30 target_credits that will be a waste doing 30 target_print for every target_credits