Reactive behaviour for autonomous virtual agents using fuzzy logic