Talk:Func instance parms

From Valve Developer Community
Jump to navigation Jump to search

choices parameter type?

The choices parameter type doesn't seem to work properly with instances. Is there a way to implement enumerated values for a parameter with SmartEdit off? --SomeUntakenUsername (talk) 12:04, 6 January 2021 (PST)

Do parameters work with I/O parameter overrides?

I'm making a Portal 2 Portal 2 instance, and I need to know if I can use instance parameters as parameters in I/O. Does that work? --Tiny Desk Engineer (Talk Page) 20:41, 15 June 2022 (PDT)

It seems not. --Tiny Desk Engineer (Talk Page) 21:04, 15 June 2022 (PDT)

Curious question regarding the fix-up name variable warning.

Regarding the following Warning in func_instance_parms ("If using a targetname variable, Hammer will add the fix-up name to the variable wherever it's used, i.e. myinstance-$variable") it doesn't mention that you can use the @ Targetname to bypass the name-fixup, but is however only mentioned in Targetname instead. Is that done so on purpose?

(Apologies if this seems irrelevant, I'm relatively new here.) --MrGermandeutsch (talk) 06:42, 23 September 2023 (PDT)