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 /entities | |
| parent | cc2f78ca9fc6cd2e3bc8225b62fff87cc5034926 (diff) | |
| download | wintersurvival2-9f68b88436d7514df847486163433fb87e06f770.tar.gz wintersurvival2-9f68b88436d7514df847486163433fb87e06f770.tar.bz2 wintersurvival2-9f68b88436d7514df847486163433fb87e06f770.zip | |
Adjustements to antlion pouncer
Diffstat (limited to 'entities')
| -rw-r--r-- | entities/entities/ws_npc_ambient/init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/entities/entities/ws_npc_ambient/init.lua b/entities/entities/ws_npc_ambient/init.lua index b896726..523333c 100644 --- a/entities/entities/ws_npc_ambient/init.lua +++ b/entities/entities/ws_npc_ambient/init.lua @@ -7,7 +7,7 @@ include('shared.lua') function ENT:Initialize()
--print("NPC spawned!")
--self:SetMoveType(MOVETYPE_STEP)
- --self:SetSolid(SOLID_OBB)
+ self:SetSolid(SOLID_NONE)
--self:SetCollisionGroup(COLLISION_GROUP_INTERACTIVE)
if(self.Model) then self:SetModel(self.Model)
@@ -19,6 +19,7 @@ function ENT:Initialize() if(self.Stats["Accel"]) then self.loco:SetAcceleration(self.Stats["Accel"])end
if(self.Stats["Decel"]) then self.loco:SetDeceleration(self.Stats["Decel"]) end
if(self.Stats["Step"]) then self.loco:SetJumpHeight(self.Stats["Step"]) end
+ if(self.OnSpawn) then self:OnSpawn() end
--self:SetModel( "models/Humans/Group01/Female_01.mdl" )
--[[
self:SetHullType( HULL_HUMAN );
|
