diff options
| author | Alexander Pickering <Alexander.Pickering@anondomain.site90.net> | 2016-01-11 20:01:06 -0500 |
|---|---|---|
| committer | Alexander Pickering <Alexander.Pickering@anondomain.site90.net> | 2016-01-11 20:01:06 -0500 |
| commit | 6d9625e0e3e936cbbce110226b37fc96db793fc0 (patch) | |
| tree | e925d53dadb8dd1d6d9cec20e5b241bd9c5cd3a5 /gamemode/npcsystem/aidirector.lua | |
| parent | cfb350ae08614563d3544c68a59b3ece22b77d6f (diff) | |
| download | wintersurvival2-6d9625e0e3e936cbbce110226b37fc96db793fc0.tar.gz wintersurvival2-6d9625e0e3e936cbbce110226b37fc96db793fc0.tar.bz2 wintersurvival2-6d9625e0e3e936cbbce110226b37fc96db793fc0.zip | |
Got npc working
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")
|
