Raised This Month: $51 Target: $400
 12% 

[L4D2] Ensure human infected converts into bot when getting Tank


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bumblebee0001
Junior Member
Join Date: Jan 2024
Old 01-29-2024 , 07:49   [L4D2] Ensure human infected converts into bot when getting Tank
Reply With Quote #1

I am attempting to create a plugin but I am not sure how I would go about this.
When a human player is going to get the Tank (receives the big message "YOU WILL BECOME THE TANK"), sometimes he will become the Tank but his previous Infected will not turn into a bot and instead just disappear completely. I am not sure why this is happening as it even happens with no plugins, and seems to be a Linux thing.

I have the event player_bot_replace , which tracks when a Bot replaced the player, but I'm unsure of how I could use this to ensure the Infected doesn't disappear.

What would be the correct way of doing this, and how can I ensure that a Bot infected will always replace the human infected after he became Tank?

Last edited by bumblebee0001; 01-29-2024 at 08:03.
bumblebee0001 is offline
Reply



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 11:50.


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