From Valve Developer Community
Revision as of 08:06, 29 March 2012 by M4pster (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns a boolean value which can be used to check if an entity has a flag enabled in the source code.

Found in in baseentity.h

 bool		HasSpawnFlags( int nFlags ) const;


if ( HasSpawnFlags( SF_DOOR_SILENT )

See Also: Flag

--M4pster 01:06, 29 March 2012 (PDT)