#2382: AI state updates are insane
-------------------------------------+-------------------------------------
  Reporter:  Per                     |             Owner:
      Type:  bug                     |            Status:  new
  Priority:  normal                  |         Milestone:
 Component:  Engine: Scripting / AI  |           Version:  git/master
  Keywords:  scripting ai scripts    |  Operating System:  All/Non-Specific
Blocked By:                          |          Blocking:
-------------------------------------+-------------------------------------
 While debugging some AI bugs, I was not able to figure out how and when
 the AI script states for game objects are being updated. Setting a droid's
 order, for example, is not reflected in the droid.order field immediately
 afterward, nor does it seem to have been updated in the next script
 invocation if it follows immediately afterwards (next logical update).
 This results in droid jobs being overwritten randomly and other hard to
 trace bugs being generated. You also cannot set such object state manually
 (eg droid.order = DORDER_HELPBUILD generates a syntax error).

 Any help from anyone who knows how the script system works would be
 greatly appreciated.

-- 
Ticket URL: <http://developer.wz2100.net/ticket/2382>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to