ORK Framework  2.22.0
API Documentation
ORKFramework.Behaviours.RandomBattleArea Class Reference
Inheritance diagram for ORKFramework.Behaviours.RandomBattleArea:
ORKFramework.Behaviours.BaseConditionComponent ORKFramework.Events.IEventStarter ORKFramework.Behaviours.SceneID

Public Member Functions

void StartBattle (int index, Vector3 position, Vector3 rotation)
 
void EventEnded ()
 
void DontDestroy ()
 
void OnSceneLoaded ()
 
- Public Member Functions inherited from ORKFramework.Behaviours.BaseConditionComponent
bool CheckConditions ()
 
bool CheckVariables ()
 
void SetVariables ()
 

Public Attributes

GameObject battleComponentObject
 
bool setBCPos = false
 
bool setBCRot = false
 
bool useNearestArena = false
 
float arenaRange = 20
 
BattleSystemType battleType = BattleSystemType.TurnBased
 
float battleChance = 10.0f
 
float checkInterval = 0.5f
 
bool ignoreHeightDistance = true
 
float minMoveCheckDistance = 0.1f
 
float minBattleDistance = 5.0f
 
float maxBattleDistance = 15.0f
 
BattleCombatant[] combatant = new BattleCombatant[] {new BattleCombatant()}
 
float[] chance = new float[] {100}
 
- Public Attributes inherited from ORKFramework.Behaviours.BaseConditionComponent
bool autoDestroy = true
 
bool repeatDestroy = false
 
float destroyCheckTime = 1
 
bool checkObjectVariables = false
 
VariableCondition variableCondition = new VariableCondition()
 
bool setObjectVariables = false
 
VariableSetter variableSetter = new VariableSetter()
 
QuestCondition questCondition = new QuestCondition()
 
- Public Attributes inherited from ORKFramework.Behaviours.SceneID
bool useSceneID = true
 
int sceneID = -1
 

Properties

GameObject GameObject [get]
 
- Properties inherited from ORKFramework.Events.IEventStarter
GameObject GameObject [get]
 

Additional Inherited Members

- Protected Member Functions inherited from ORKFramework.Behaviours.BaseConditionComponent
bool CheckAutoDestroy ()
 
void AutoDestroy ()
 
- Protected Attributes inherited from ORKFramework.Behaviours.BaseConditionComponent
bool isInvoking = false