fix citizen
This commit is contained in:
parent
835da4615c
commit
aa4b3e9e33
@ -1,4 +1,3 @@
|
||||
|
||||
local npcs = list.Get("NPC")
|
||||
local citizenEnemy = npcs["npc_citizen_rebel_enemy"]
|
||||
|
||||
@ -6,7 +5,11 @@ if citizenEnemy then
|
||||
for class, npc in pairs(npcs) do
|
||||
if npc["Class"] == "npc_combine_s" and npc["Category"] ~= "#spawnmenu.category.combine" then
|
||||
npc["Class"] = citizenEnemy["Class"]
|
||||
npc["KeyValues"] = citizenEnemy["KeyValues"]
|
||||
npc["KeyValues"] = {
|
||||
Hostile = 1,
|
||||
SquadName = "overwatch",
|
||||
citizentype = 4
|
||||
}
|
||||
|
||||
list.Set("NPC", class, npc)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user