@name Alyx Bodyguard
@inputs
@outputs A1ID Go:vector
@persist A1:entity
if (first()) {
A1 = npcSpawn("npc_alyx",entity():pos())
A1:npcRelationship("player","like",99)
A1:npcGiveWeapon("smg1")}
interval(1000)
Go = entity():owner():aimPos()
A1:npcGoWalk(Go)
if (!A1:isAlive()) {selfDestruct()}
if (entity():owner():aimEntity():isNPC()) {A1:npcShoot()}
A1ID=A1:id()
