Creed —— AI听觉干扰和调查

在AI控制器BP_AIController_Generic内,添加AI Hearing config;

  • 在事件图表中,设置On Target Perception Updated事件;
    • 听觉检测,以更新BD_AI中的key值Investigation Location;

BT_AI行为树设置

设置WB_InvestigateIcon

创建WB_InvestigateIcon并添加到BP_AI内;

  • 设置该widget可见性事件;
  • 在检测到听觉后,AI角色显示图标;
  • 在拾取听觉后,AI角色隐藏图标;

玩家角色制造噪音检测AI角色的听觉;

相关推荐
挨代码7 天前
Creed —— 保存与加载
ue游戏教程
挨代码8 天前
Creed —— 过场动画
ue游戏教程
挨代码9 天前
Creed —— 主菜单
ue游戏教程
挨代码10 天前
Creed —— AI 动物
ue游戏教程
挨代码12 天前
Creed —— 弓箭
ue游戏教程
挨代码15 天前
Creed —— 任务系统
ue游戏教程
挨代码18 天前
Creed —— 攀爬
ue游戏教程
挨代码19 天前
Creed —— AI攻击伤害
ue游戏教程
挨代码20 天前
Creed —— AI Boss
ue游戏教程