ORK Framework  2.25.2
API Documentation
ORKFramework.Behaviours.CombatantSpawner Class Reference
Inheritance diagram for ORKFramework.Behaviours.CombatantSpawner:
ORKFramework.Behaviours.BaseBattleComponent ORKFramework.Behaviours.BaseInteraction ORKFramework.Behaviours.BaseConditionComponent ORKFramework.Behaviours.SceneID

Public Member Functions

bool HasCollider ()
 
void CheckCombatantArrays ()
 
BattleComponent GetBattleComponent (Vector3 position, Vector3 rotation)
 
bool IsBlockMoveAI (int index)
 
bool OwnMoveAI (int index)
 
int GetMoveAI (int index)
 
void StartFromEvent ()
 
override void StartEvent (GameObject startingObject)
 
void SetWaypoints (Group group)
 
void Despawn ()
 
void CheckRespawn (int index, Group group)
 
void StoreSpawned ()
 
- Public Member Functions inherited from ORKFramework.Behaviours.BaseBattleComponent
bool IsSceneIDSet ()
 
virtual void SetSceneID (bool finished)
 
override bool CanInteract (EventStartType type, GameObject gameObject)
 
- Public Member Functions inherited from ORKFramework.Behaviours.BaseInteraction
IEnumerator StartEvent (GameObject startingObject, float delay)
 
bool CheckOrientation (GameObject gameObject)
 
virtual bool Interact ()
 
virtual void TouchInteract ()
 
virtual bool DropInteract (DragInfo drag)
 
bool CheckDrop (DragInfo drag)
 
bool CheckStartObject (GameObject gameObject)
 
virtual void KeyPress ()
 
virtual void UIStart ()
 
virtual void UIStart (GameObject startingObject)
 
bool ForwardInteract ()
 
void ForwardTouchInteract ()
 
bool ForwardDropInteract (DragInfo drag)
 
void ForwardOnTriggerEnter (Collider other)
 
void ForwardOnTriggerExit (Collider other)
 
void ForwardOnTriggerStay (Collider other)
 
void ForwardOnTriggerEnter2D (Collider2D other)
 
void ForwardOnTriggerExit2D (Collider2D other)
 
void ForwardOnTriggerStay2D (Collider2D other)
 
void ForwardOnCollisionEnter (Collision collision)
 
void ForwardOnCollisionExit (Collision collision)
 
void ForwardOnCollisionStay (Collision collision)
 
void ForwardOnCollisionEnter2D (Collision2D collision)
 
void ForwardOnCollisionExit2D (Collision2D collision)
 
void ForwardOnCollisionStay2D (Collision2D collision)
 
- Public Member Functions inherited from ORKFramework.Behaviours.BaseConditionComponent
bool CheckConditions ()
 
bool CheckVariables ()
 
void SetVariables ()
 

Public Attributes

bool repeatCheckSpawn = false
 
float repeatCheckTime = 0.0f
 
bool useAppearingChance = false
 
float appearingChance = 100
 
bool appearingChanceFailSetID = false
 
LayerMask layerMask = -1
 
bool spawnRandom = false
 
bool respawnRandom = false
 
Rounding roundSpawnPosition = Rounding.None
 
bool rememberCombatants = false
 
bool destroySpawned = false
 
string spawnerID = ""
 
bool spawnAtPosition = false
 
GameObject [] spawnPoint
 
GameObject battleComponentObject
 
bool setBCPos = false
 
bool setBCRot = false
 
bool useNearestArena = false
 
float arenaRange = 20
 
BattleSystemType battleType = BattleSystemType.TurnBased
 
BattleCombatant [] combatant = new BattleCombatant[] {new BattleCombatant()}
 
int [] quantity = new int[] {1}
 
bool [] randomRotation = new bool[] {false}
 
bool [] setScale = new bool[] {false}
 
Vector3 [] scale = new Vector3[] {Vector3.one}
 
bool [] spawnAll = new bool[] {false}
 
bool [] respawn = new bool[] {false}
 
float [] respawnTime = new float[] {60.0f}
 
bool [] blockMoveAI = new bool[] {false}
 
bool [] ownMoveAI = new bool[] {false}
 
int [] moveAIID = new int[] {0}
 
bool randomWaypointOrder = false
 
GameObject [] waypoints = new GameObject[0]
 
- Public Attributes inherited from ORKFramework.Behaviours.BaseInteraction
EventStartType startType = EventStartType.None
 
bool inBlockedControl = false
 
string customType = ""
 
float autoStartAfter = 0
 
bool allowClick = true
 
bool overrideClickDistance = false
 
float maxClickDistance = 3
 
bool useMoveToInteraction = true
 
GameObject destinationObject
 
bool overrideInteractionRadius = false
 
float interactionRadius = 1
 
bool overrideStopDistance = false
 
float stopDistance = 1
 
bool overrideMoveToSpeed = false
 
MoveSpeed moveToSpeed
 
int keyToPress = 0
 
bool keyPressInTrigger = false
 
bool keyPressWhileColliding = false
 
EventDropType dropType = EventDropType.Item
 
ItemGain dropItem = new ItemGain()
 
AbilitySelection dropAbility = new AbilitySelection()
 
bool consumeDrop = false
 
bool startByCollider = true
 
bool startByTrigger = true
 
bool startByRootObject = false
 
bool useOtherObject = false
 
EventStartObject startObjectCheck
 
HorizontalPlaneType horizontalPlane = HorizontalPlaneType.XZ
 
bool useFront = true
 
bool useBack = true
 
bool useLeft = true
 
bool useRight = true
 
- 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
 

Protected Member Functions

override void Update ()
 
- Protected Member Functions inherited from ORKFramework.Behaviours.BaseInteraction
void AutoStart ()
 
void DoAutoStart ()
 
void StartMoveToInteraction (GameObject player)
 
- Protected Member Functions inherited from ORKFramework.Behaviours.BaseConditionComponent
bool CheckAutoDestroy ()
 
void AutoDestroy ()
 

Properties

override InteractionType Type [get]
 
- Properties inherited from ORKFramework.Behaviours.BaseInteraction
bool EventStarted [get]
 
float?? MoveDestinationOffset [get]
 
abstract InteractionType Type [get]
 

Additional Inherited Members

- Protected Attributes inherited from ORKFramework.Behaviours.BaseBattleComponent
string sceneName = ""
 
- Protected Attributes inherited from ORKFramework.Behaviours.BaseInteraction
int isInTrigger = 0
 
int isColliding = 0
 
bool eventStarted = false
 
- Protected Attributes inherited from ORKFramework.Behaviours.BaseConditionComponent
bool isInvoking = false