Talk:Model entity/Generic Keyvalues, Inputs and Outputs/Inputs: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Inputs from <code>CBaseEntity</code> that are covered here: *<code>Alpha</code> *<code>AlternativeSorting</code> *<code>Color</code> *<code>SetDamageFilter</code> *<code>Enabl...") |
No edit summary |
||
Line 15: | Line 15: | ||
*<code>EnableDrawInFastReflection</code> | *<code>EnableDrawInFastReflection</code> | ||
[[User:Pinsplash|Pinsplash]] ''([[User talk:Pinsplash|talk]])'' 09:15, 22 August 2018 (UTC) | [[User:Pinsplash|Pinsplash]] ''([[User talk: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 <tt>"tf2=0"</tt> vs. <tt>"tf2="</tt>. I'd suggest using <code><nowiki>{{#ifeq: {{{tf2|1}}} | 0 | | ... }}</nowiki></code> instead of <code><nowiki>{{#if: {{{tf2|1}}} | ... }}</nowiki></code>. --[[User:Popcorn|Popcorn]] ([[User talk:Popcorn|talk]]) 09:00, 13 October 2022 (PDT) |
Revision as of 09:01, 13 October 2022
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)