Talk:Model entity/Generic Keyvalues, Inputs and Outputs/Inputs: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 08:03, 22 April 2025

Inputs from CBaseEntity that are covered here:

  • Alpha
  • AlternativeSorting
  • Color
  • SetDamageFilter
  • EnableDamageForces
  • DisableDamageForces
  • DisableShadow
  • EnableShadow
  • DisableDraw
  • EnableDraw
  • DisableReceivingFlashlight
  • EnableReceivingFlashlight
  • DisableDrawInFastReflection
  • EnableDrawInFastReflection

Pinsplash (talk) 09:15, 22 August 2018 (UTC)

portal2=0 vs. portal2=

I find the latter counter-intuitive as its kind of a boolean value and it's not that easy to make both have the same effect, I think. Same applies to "tf2=0" vs. "tf2=". I'd suggest using {{#ifeq: {{{tf2|1}}} | 0 | | ... }} instead of {{#if: {{{tf2|1}}} | ... }}. --Popcorn (talk) 09:00, 13 October 2022 (PDT)