Difference between revisions of "HasSpawnFlag"

From Valve Developer Community
Jump to: navigation, search
 
Line 1: Line 1:
Returns a boolean value which can be used to check if an entity has a flag enabled in the source code.
+
{{delete|404 bytes and unused now|speedy}}
 
 
 
 
Found in in baseentity.h
 
  bool HasSpawnFlags( int nFlags ) const;
 
 
 
 
 
 
 
== Usage ==
 
 
 
 
 
if ( '''HasSpawnFlags'''( SF_DOOR_SILENT )
 
{
 
  do....
 
}
 
 
 
----
 
 
 
 
 
See Also:
 
[[Flag]]
 
 
 
[[Category:Programming]]
 
[[Category:Glossary]]
 
[[Category:Flags]]
 
 
 
----
 
 
 
--[[User:M4pster|M4pster]] 01:06, 29 March 2012 (PDT)
 

Latest revision as of 13:25, 13 April 2023

Warning icon.png
This article has been marked as a candidate for speedy deletion for the following reason:
404 bytes and unused now
If you object to this decision, then please discuss why hereIf this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators - Remember to check if anything links here and the page history (last edit) before deleting.