Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S
SizeBox
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 152
    • Issues 152
    • List
    • Boards
    • Labels
    • Milestones
  • Packages
    • Packages
    • Container Registry
  • Analytics
    • Repository Analytics
    • Value Stream Analytics
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards
  • Administrator
  • SizeBox
  • Issues
  • #553

Closed
Open
Opened Feb 04, 2020 by Debolte@Debolte
  • Report abuse
  • New issue
Report abuse New issue

[AI/Lua] Setting behaviors as AI-compatible is buggy

The behavior data attribute ai is expected to make scripts usable by NPC AI, but it doesn't appear to work.

I've noticed having a scores behavior attribute, as well having a flags data attribute randomly makes it work, but it's really not clear. It appears arbitrary, under some unclear prerequisites. It looks like some chain of events (having a scores attribute, a ai = true data attribute, and/or a flags data attribute) leads to a condition being met, which finally makes a behavior AI-compatible.

Unclear because for some reason, upon undoing the changes that led to the behavior being AI-compatible, the behavior remains AI-compatible...

Really needs investigation.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
3
Labels
Bug Code Investigate
Assign labels
  • View project labels
Reference: root/SizeBox#553