Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding outputs through the keyvalues on comp_kv_setter does not work #163

Open
vrad-exe opened this issue May 1, 2022 · 1 comment
Open
Labels

Comments

@vrad-exe
Copy link
Collaborator

vrad-exe commented May 1, 2022

To workaround !special targetnames still recieving instance fixups in P1, I attempted to add the outputs through a comp_kv_setter, using the keyvalues so the fixups aren't applied (since outputs are stored as part of the keyvalues internally).
image
However, this resulted in only a single OnStartTouch output being added with an empty value, then the three intended outputs were added with an output name of kv_value_global (the name of the Value - String keyvalue on comp_kv_setter itself):
image
(The second OnStartTouch output was present originally on the entity)

@TeamSpen210
Copy link
Owner

Hmm, this isn't really something I intended you to be able to do :). Though in the BSP they are the same, in srctools they're treated like in VMFs, being distinct kinds of values. I probably will want to add a specific ent for this purpose perhaps, but also make this not produce that nonsensical result.

@TeamSpen210 TeamSpen210 added the bug label May 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants