HammerAddons icon indicating copy to clipboard operation
HammerAddons copied to clipboard

Adding outputs through the keyvalues on comp_kv_setter does not work

Open vrad-exe opened this issue 3 years ago • 1 comments

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)

vrad-exe avatar May 01 '22 00:05 vrad-exe

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 avatar May 01 '22 01:05 TeamSpen210