Smoke grenade - Triggering and effects

Hey there. I’ve been wondering how to make a smoke grenade which triggers a response from AI or the player character. For example, throwing the grenade and having it explode would cause the AI to be visually impaired for a certain time period, as well as causing them to make a statement about the grenade.Or vices versa, with the enemy throwing the grenade and the player character reacting and becoming blind. If anyone has any ideas to go about doing this, it would be really appreciated if you could share the solution. Thanks!