diff options
| author | Alexander Pickering <Alexander.Pickering@anondomain.site90.net> | 2016-01-03 23:56:18 -0500 |
|---|---|---|
| committer | Alexander Pickering <Alexander.Pickering@anondomain.site90.net> | 2016-01-03 23:56:18 -0500 |
| commit | 9f68b88436d7514df847486163433fb87e06f770 (patch) | |
| tree | a7c452de5dbd1bfb7f7c2371c2b24e931eaf6804 /gamemode/npcsystem/aidirector.lua | |
| parent | cc2f78ca9fc6cd2e3bc8225b62fff87cc5034926 (diff) | |
| download | wintersurvival2-9f68b88436d7514df847486163433fb87e06f770.tar.gz wintersurvival2-9f68b88436d7514df847486163433fb87e06f770.tar.bz2 wintersurvival2-9f68b88436d7514df847486163433fb87e06f770.zip | |
Adjustements to antlion pouncer
Diffstat (limited to 'gamemode/npcsystem/aidirector.lua')
| -rw-r--r-- | gamemode/npcsystem/aidirector.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gamemode/npcsystem/aidirector.lua b/gamemode/npcsystem/aidirector.lua index f9f7203..04e645d 100644 --- a/gamemode/npcsystem/aidirector.lua +++ b/gamemode/npcsystem/aidirector.lua @@ -58,6 +58,9 @@ function SpawnNpcByName(name, position) if(entdata.AwareEnemies) then
ent.AwareEnemies = entdata.AwareEnemies
end
+ if(entdata.OnSpawn) then
+ ent.OnSpawn = entdata.OnSpawn
+ end
ent:Spawn()
end
|
