Dynamically changing keyvalues.

Untouch

L4: Comfortable Member
Jan 25, 2010
187
48
Alright, there's some things I'd like to test out involving player keyvalues.
The problem is, the only way I know of is ent_keyvalue, BUT it only works with hammerids, and as far as I know, players cannot have hammerids.

Is there any other way to change keyvalues?
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,670
The AddOutput input serves a dual function, adding outputs and changing keys. Set the parameter to the key name and the desired value, separated by a space. Note that not all keys will recognize a change when altered at runtime.
 

Untouch

L4: Comfortable Member
Jan 25, 2010
187
48
That worked, thanks.

One more question though.
There's a bunch of extra keyvalues, I'd like to resize the player, I know the keyvalue for it is m_flModelScale.

It won't work though, is this an SDK thing?
That's how the SM plugin does it.