• Set shooting position
    0 replies, posted
My SNPC traces, bullets, rockets and crossbolts spawn from it's feet. How do I change that position? Shooting code: [lua] local schdShoot = ai_schedule.New( "Shoot Enemy" ) schdShoot:EngTask( "TASK_ANNOUNCE_ATTACK", 0 ) schdShoot:EngTask( "TASK_RANGE_ATTACK1", 0 ) self:StartSchedule( schdShoot ) [/lua] EDIT: Fixed [lua] self:SetSaveValue("m_HackedGunPos", Vector(0,0,50)) [/lua]
Sorry, you need to Log In to post a reply to this thread.