Skip to content

rangerHitEntities not working. #3423

@Quatricks

Description

@Quatricks

Describe the bug

rangerHitEntities in my chip is not working. I want to know reason of this bug.

@name 
@inputs Ent:entity
@outputs 
@persist 
@strict

if(first())
{
    rangerHitEntities(1)
    rangerHitWater(1)
    rangerIgnoreWorld(0)
    rangerDefaultZero(0)
    rangerWhitelist(1)
    rangerFlags("ewz")
    
    EntList = array(owner(),entity())
    
    rangerFilter(EntList)
}

event tick()
{
    local AimPos = (owner():pos() - Ent:pos()):toAngle()
    Ranger=rangerOffset(150,owner():pos(),owner():forward())
    Ent:setPos(Ranger:position()+vec(0,0,100))
    Ent:setAng(AimPos)
    Ent:propNotSolid(0)
}

How to reproduce the bug

  1. Join in the server with wiremod.
  2. To place e2 chip.
  3. Item(Ent) not ignore me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    E2This issue is related to E2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions