Raised This Month: $10 Target: $400

[L4D2] VScripting How to Startle a Witch

Post New Thread Reply   
Thread Tools Display Modes
Author Message
AlliedModders Donor
Join Date: Jan 2021
Location: dcord:Jeremy333#7632
Old 05-13-2021 , 11:18   [L4D2] VScripting How to Startle a Witch
Reply With Quote #1

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

May you help me, please?
jeremyvillanueva is offline

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 06:32.

Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode