• Set NPC as Template NPC?
    0 replies, posted
Setting the spawnflags to that on a NPC that supports it doesn't seem to work. Is there any way to do this on a npc in Lua? I know maps have it choosable, and the npc doesn't appear in-game then? (not exactly sure on that one) This flag could be used for pretty many things and I need it right now for the thing I'm doing right now. I tried [lua] local npc = ents.Create("npc_combine_s") npc:SetKeyValue("spawnflags", 2048) [/lua] but it wouldn't be recognized :/, also tried with spawning it, having it as a string etc. Any help is appreciated :smile:
Sorry, you need to Log In to post a reply to this thread.