Hey,
Is it possible to add the keyvalue "filtername"? I havent found it yet.
On all triggers you can give them a filter (name) so it eg activates only if hes ct
keyvalue "filtername"
Re: keyvalue "filtername"
That is already implemented in our entity data as filter_name:
https://github.com/Source-Python-Dev-Te ... er.ini#L13
https://github.com/Source-Python-Dev-Te ... er.ini#L13
Re: keyvalue "filtername"
Thank you.
Oh damn, forgot to search it with "_" between it, gonna remind me that for next time.
Oh damn, forgot to search it with "_" between it, gonna remind me that for next time.
Re: keyvalue "filtername"
Well, you can also search for the original name:
https://github.com/Source-Python-Dev-Te ... filtername
And in case a keyvalue hasn't been added yet, you can always access it using the get_key_value_<type>() method.
https://github.com/Source-Python-Dev-Te ... filtername
And in case a keyvalue hasn't been added yet, you can always access it using the get_key_value_<type>() method.
Re: keyvalue "filtername"
Sorry for bumping older threads, but im having a problem with it. Its like if no filter was registered with the brush.
I tested it with creating a trigger with filtername through stripper which worked perfectly and simply copied it with source python and it doesnt.
I even tried printing the filternames of entities, but im getting utf8 error all the time, since it seems like to print bytes, maybe thats something related? Not sure, can send more when im home.
I tested it with creating a trigger with filtername through stripper which worked perfectly and simply copied it with source python and it doesnt.
I even tried printing the filternames of entities, but im getting utf8 error all the time, since it seems like to print bytes, maybe thats something related? Not sure, can send more when im home.
Return to “Plugin Development Support”
Who is online
Users browsing this forum: No registered users and 73 guests