[L4D2] Why did it trigger twice? What happened in between
PHP Code:
|
Re: [L4D2] Why did it trigger twice? What happened in between
this snippet is wrong (what is this bot variable) so is hard to help
try sharing the full .sp file |
Re: [L4D2] Why did it trigger twice? What happened in between
Quote:
PHP Code:
|
Re: [L4D2] Why did it trigger twice? What happened in between
Quote:
Thank you for your reply An entity named survivor_bot triggers twice in the process of changing the map, for example, when survivor_bot's entity index was 3, you can see that it triggers PrintToChatAll twice at the same time (1214.675903). I think at the same time created two "survivor_bot", these two entities "survivor_bot" index is 3, it's strange.. I don't understand this process. What happened |
Re: [L4D2] Why did it trigger twice? What happened in between
Dunno, may be related to the bot takeover event (bot being replaced by player). but is just a guess
What I do in these cases is having a global var that check if the hook event was already applied, and then ignore Maybe this can help if you are having any bugs |
Re: [L4D2] Why did it trigger twice? What happened in between
Quote:
I'll try to do that thanks for your advice:) |
All times are GMT -4. The time now is 14:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.