View Single Post
Xanaguy
Senior Member
Join Date: Jan 2017
Old 01-22-2019 , 04:12   Re: [L4D2] Improved and Perfected SurvivorAI Autotrigger
Reply With Quote #18

Quote:
Originally Posted by cravenge View Post
Just add a check for the custom campaign's map name.
Code:
StrEqual(mapname, "<partial/full name of the cc's map>", false);
// or...
!strcmp(mapname, "<partial/full name of the cc's map>");
For the Cola deliver event, you need to apply the same function found in some of the plugins posted here that manipulates the bot's action.
Oh. I had no idea I was attempting to use the wrong input for checking map names. Thanks!

About the Bots delivering cola, it's never going to fully work on it's own. The bots would have to manually open up the store, and even then, the cola that initially spawns is a separate entity altogether. On top of all that, I do not believe that the "GasNozzle" even exists on c1m2.
Xanaguy is offline