diff options
Diffstat (limited to 'gamemode/npcsystem/aidirector.lua')
| -rw-r--r-- | gamemode/npcsystem/aidirector.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gamemode/npcsystem/aidirector.lua b/gamemode/npcsystem/aidirector.lua index 2f9b7a7..008ad1a 100644 --- a/gamemode/npcsystem/aidirector.lua +++ b/gamemode/npcsystem/aidirector.lua @@ -101,6 +101,11 @@ function SpawnNpcByName(name, position) if(entdata.OnSpawn) then
ent.OnSpawn = entdata.OnSpawn
end
+ --[[
+ if(entdata.BehaveCycle) then
+ ent.BehaveCycle = entdata.BehaveCycle
+ end
+ ]]--
print("NPC created")
ent:Spawn()
print("NPC spawned")
|
