DynRPG v0.32 Unofficial
Plugin SDK
|
Used for the default data of monster groups which are defined in the database. More...
#include <DBMonsterGroup.h>
Public Member Functions | |
RPG::EventScriptLine * | getEventPageLine (int battleEventPage, int lineId) |
Easily returns a battle event line. | |
Public Attributes | |
int | id |
ID of the monster group. | |
DStringPtr | name |
Name of the monster group. | |
CatalogPtr< MonsterGroupPosition * > | monsterList |
The current monsters in the grouping, along with their position. | |
DArray< bool, 1 > | habitatTerrain |
The array of "Habitats" for this monster group. | |
CatalogPtr< BattleEventPage * > | battleEventPages |
The battle event pages associated to this monster group. | |
bool | randomizeHidden |
50% chance for hidden flag | |
MonsterAlignment | alignment |
Used for the default data of monster groups which are defined in the database.
RPG::EventScriptLine * RPG::DBMonsterGroup::getEventPageLine | ( | int | battleEventPage, |
int | lineId ) |
Easily returns a battle event line.
Allows you to write RPG::getBattleEventLine(23,1,1)->command
instead of RPG::dbMonsterGroups[23]->battleEventPages[1]->scriptLines->list->items[1]->command
which gets the 2nd line on the 2nd page of monster group 23.
battleEventPage | The monster group's battle event page ID (zero-based) |
lineId | The line ID (zero-based) |