priority.txt: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
The file '''priority.txt''' allows you to specify priority monsters that Kore will attack first.
The file '''priority.txt''' allows you to specify priority monsters that Kore will attack first.


==Syntax==
== Syntax ==
The format of this file is basically a set of lines that observes the following syntax:
The format of this file is basically a set of lines that observes the following syntax:
  <monster name>
  <monster name>


==Details==
=== Details ===
===<monster name>===
----
This is the name of a monster as it appears in tables\monsters.txt. The order in which the monster names appear in this file is important. Upper entries have more priority than lower entries.  
 
; <[[References#Monster Names|monster name]]>
: This is the name of a monster. The order in which the monster names appear in this file is important. Upper entries have more priority than lower entries.  
 


==Examples==
== Examples ==
In the following example, if Kore is attacked by an Orc Lady, an Orc Warrior, an Orc Archer and a High Orc, Kore will try to kill the High Orc first, then turn to the Orc Archer. The Orc Lady and Orc Warrior, having no priority at all, will be attacked with no definite order.  
In the following example, if Kore is attacked by an Orc Lady, an Orc Warrior, an Orc Archer and a High Orc, Kore will try to kill the High Orc first, then turn to the Orc Archer. The Orc Lady and Orc Warrior, having no priority at all, will be attacked with no definite order.  
  High Orc
  High Orc
  Orc Archer
  Orc Archer


'''''Note.''''' Lines that begin with the pound sign (#) are comment lines. They are ignored by Openkore


[[Category:Control]]
[[Category:Control]]

Revision as of 15:50, 14 December 2009

The file priority.txt allows you to specify priority monsters that Kore will attack first.

Syntax

The format of this file is basically a set of lines that observes the following syntax:

<monster name>

Details


<monster name>
This is the name of a monster. The order in which the monster names appear in this file is important. Upper entries have more priority than lower entries.


Examples

In the following example, if Kore is attacked by an Orc Lady, an Orc Warrior, an Orc Archer and a High Orc, Kore will try to kill the High Orc first, then turn to the Orc Archer. The Orc Lady and Orc Warrior, having no priority at all, will be attacked with no definite order.

High Orc
Orc Archer