ent_keyvalue
Jump to navigation
Jump to search
ent_keyvalue is a console command available in all
Source games. It can change chosen entity's keyvalues.
Syntax: ent_keyvalue <entity id> <key> <value> [<key> <value>...]
- if <entity id> is
""or!pickerthe picker entity will be used - if <entity id> is
!self/!activator/!callerthe player that issued the command (works in multiplayer?[confirm]) - if <entity id> is hammer id then the entity will be searched by hammer id
<value> make sure to enclose the value in quotes.Example
ent_keyvalue 848668 message "This is game_text's message keyvalue"Example of adding outputs to the command issuer
ent_keyvalue !self OnUser1 !self,Kill,,5,-1 OnUser2 "game_text,AddOutput,message changing a message of game_text". (difference from AddOutput syntax is needing to use symbol , instead of :)