SF Enumerations

From Garry's Mod
Revision as of 23:01, 24 February 2016 by Shendow (Talk | contribs)
Jump to: navigation, search

Enumerations describing certain spawnflags. Everything except for SF_PHYS* is serverside only.

NOTE: This is not a full list of available spawnflags, there are a lot more, each unique to each entity, you can find out more on the Valve Developer Community website for the entities in question.

Warning! Decimal values are for reference only! The actual value may be different between two Garry's Mod versions.
Name Decimal Description
SF_CITIZEN_AMMORESUPPLIER 524288 Citizen that resupplies ammo
SF_CITIZEN_FOLLOW 65536
SF_CITIZEN_IGNORE_SEMAPHORE 2097152
SF_CITIZEN_MEDIC 131072 Makes the citizen a medic
SF_CITIZEN_NOT_COMMANDABLE 1048576
SF_CITIZEN_RANDOM_HEAD 262144 Gives the citizen a random head
SF_CITIZEN_RANDOM_HEAD_FEMALE 8388608 Gives the citizen a random female head
SF_CITIZEN_RANDOM_HEAD_MALE 4194304 Gives the citizen a random male head
SF_CITIZEN_USE_RENDER_BOUNDS 16777216
SF_FLOOR_TURRET_CITIZEN 512 Makes the floor turret friendly
SF_NPC_ALTCOLLISION 4096
SF_NPC_ALWAYSTHINK 1024
SF_NPC_DROP_HEALTHKIT 8 NPC Drops health kit when it dies
SF_NPC_FADE_CORPSE 512
SF_NPC_FALL_TO_GROUND 4
SF_NPC_GAG 2
SF_NPC_LONG_RANGE 256
SF_NPC_NO_PLAYER_PUSHAWAY 16384
SF_NPC_NO_WEAPON_DROP 8192 NPC Doesn't drop weapon on death
SF_NPC_START_EFFICIENT 16
SF_NPC_TEMPLATE 2048
SF_NPC_WAIT_FOR_SCRIPT 128
SF_NPC_WAIT_TILL_SEEN 1
SF_PHYSBOX_MOTIONDISABLED 32768
SF_PHYSBOX_NEVER_PICK_UP 2097152
SF_PHYSPROP_MOTIONDISABLED 8
SF_PHYSPROP_PREVENT_PICKUP 512 Prevent that physbox from being picked up
SF_ROLLERMINE_FRIENDLY 65536 Makes the rollermine friendly
Personal tools
Navigation