Domination point always networks
This commit is contained in:
parent
d2a87a52ca
commit
85f9d855db
|
@ -8,6 +8,7 @@ ENT.DomFlag = true
|
||||||
|
|
||||||
function ENT:Initialize()
|
function ENT:Initialize()
|
||||||
self:SetModel("models/hunter/blocks/cube025x025x025.mdl")
|
self:SetModel("models/hunter/blocks/cube025x025x025.mdl")
|
||||||
|
self:AddEFlags( EFL_FORCE_CHECK_TRANSMIT )
|
||||||
|
|
||||||
self:SetMoveType( MOVETYPE_NONE )
|
self:SetMoveType( MOVETYPE_NONE )
|
||||||
|
|
||||||
|
@ -26,6 +27,10 @@ function ENT:Initialize()
|
||||||
self:SetTeamOwned( 0 )
|
self:SetTeamOwned( 0 )
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function ENT:UpdateTransmitState()
|
||||||
|
return TRANSMIT_ALWAYS
|
||||||
|
end
|
||||||
|
|
||||||
function ENT:SetupDataTables()
|
function ENT:SetupDataTables()
|
||||||
self:NetworkVar( "Float", "CapturePercent" )
|
self:NetworkVar( "Float", "CapturePercent" )
|
||||||
self:NetworkVar( "Int", "TeamTaking" )
|
self:NetworkVar( "Int", "TeamTaking" )
|
||||||
|
|
Loading…
Reference in New Issue