View Full Version : % placeholders in messages (eg %k in deathmessage)

15th Aug 2001, 01:42 PM
Is there a list of which placeholders do what?

For example in Dm-Pressure, the pressurezone has its damage message set to:
%o was depressurized by %k.

weapons classes have a deathmessage property that also uses %w for the weapon name

I've looked through the class scripts & I can't find anything so I'm guessing that this is something that's handled by native code.

Can these work in the Trigger class?
I need a SpecialEvent's message to give the name of the player who touched the original trigger.

15th Aug 2001, 03:11 PM
%k is the killers name

%o is the guy that just got killed

I belive you can use those in any strings

21st Aug 2001, 04:26 PM
...and %w is the weapon %k used.
These things are evaluated by the death message class and only apply to kill messages.

Euphoric Beaver
25th Aug 2001, 01:25 PM
I think he means is there a list of them all. Like;

%k = Killer
%w = weapon killer used
%T = was he slapped by a trout