Wartbed:Manual/Targets and Orders

From Dark Omen Wiki

< Wartbed:Manual
Revision as of 20:24, 20 January 2010 by Mikademus (Talk | contribs)
Jump to: navigation, search


Target

Target is a class that points to an Model or stores a position, and also keeps an optional offset. It is used to represent the goal of any Order that refers to a location or entity.

Overview of Actors and Orders

  • Actors have an order::Queue member object, which is a stack of Orders.
  • Actors have an OBJECTIVES member map, which is a set of Targets.
  • Orders can
    • reassign the current objectives of an Actor
    • modify some behavioural dispositions of an Actor

Example Orders

  • MoveTo( Position or mvc::Model )
  • Protect( Position or mvc::Model )
  • Escort( mvc::Model )
  • Attack( Position or mvc::Model )
Personal tools
communication