Hi, I need help,
I'm trying to startle a Witch with VScript, I'm using VSLib also
foreach( witch in ::VSLib.EasyLogic.Zombies.Witches() )
local vsPlayer = ::VSLib.EasyLogic.Players.SurvivorWithHighestFlow();
witch.Damage(witch.GetHealth()-99, 0, vsPlayer);
//if ( witch.IsAlive() && Entities.FindByClassname( null, "worldspawn" ) )
// witch.Damage(witch.GetHealth()-99, 0, ::VSLib.Entity("worldspawn"));
witch.SetNetProp( "m_rage", 1);
witch.SetNetProp( "m_mobRush", 1);
I just get the witch to get her health reduction, but she still wanders...
May you help me, please?