User:Pinsplash/Outputnote

From Valve Developer Community
< User:Pinsplash
Revision as of 02:55, 7 September 2018 by Pinsplash (talk | contribs) (Created page with "Just a note to myself <pre> m_OnQueueMoved.Set( m_iCurrentQueueCount, this, this); </pre> THIS is an output that passes a parameter! The parameter is <code>m_iCurrentQueueCou...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Just a note to myself

m_OnQueueMoved.Set( m_iCurrentQueueCount, this, this);

THIS is an output that passes a parameter! The parameter is m_iCurrentQueueCount. Second is the !activator, third is !caller. There's also a one-value variant of Set(). It's something else I guess.

FireOutput( CBaseEntity *pActivator, CBaseEntity *pCaller, float fDelay = 0 );

FireOutput does NOT pass parameters! First is the !activator, second is !caller, third is a delay.