Boom中的这段是啥意思?; (defrule (true) => (enable-timer TIMER-RES

Boom中的这段是啥意思?
; (defrule (true) => (enable-timer TIMER-RESOURCE 30) (set-goal GOAL-ADDRESOURCE 0) (disable-self) ) (defrule (timer-triggered TIMER-RESOURCE) (goal GOAL-DISABLE-CHEAT 0) (difficulty <= hard) => (set-goal GOAL-ADDRESOURCE 1) )
wendy_chen 1年前 已收到1个回答 举报

zzy10515 幼苗

共回答了23个问题采纳率:91.3% 举报

是定时器和常量的组合.定时器到时间时,把goal_addresouce常量从零改为1 你需要看goal为1时ai的动作,查看原帖

1年前

3
可能相似的问题
Copyright © 2024 YULUCN.COM - 雨露学习互助 - 16 q. 0.032 s. - webmaster@yulucn.com