HasSpawnFlag

From Valve Developer Community
Revision as of 07:49, 29 March 2012 by M4pster (talk | contribs) (Used to check if an entity has a spawn flag enabled.)

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

Used to check if an entity has a spawn flag enabled.


Example:

if ( HasSpawnFlags( SF_DOOR_SILENT ) {

 do....

}