• Manual
  • Scripting API
  • Changelog
  • Contact
Search Results for

    Show / Hide Table of Contents
    • BattleBehaviour
      • BattleBehaviour.Fusion
        • FusionManager
        • GameCharacterFusion
      • Battle
      • BossSize
      • CharacterGroup
      • ScriptableBattlePosition
      • ScriptableBattleStage
      • TeamData
      • BattleBehaviour.Backup
        • BackupState
        • BattleBackup
    • GameActors
      • GameActor
      • GameCharacter
      • GameCharacter.AIState
      • GameItem
    • States
      • BattleState
      • ChangeStageState
      • FightState
      • FightState.LoseCondition
      • FightState.WinCondition
      • PreparationState
      • ResetSceneState
    • Battlefield
      • BattleGrid
      • BattleGrid.GridType
      • Bench
      • GridCell
      • GridCellEffect
      • SellZone
    • BattleUI
      • CharacterEnergyUI
      • CharacterHealthUI
      • CharacterStatsUI
      • DamagePopup
      • ItemDescriptionUI
      • ShopExpBarUI
      • StageUI
      • TraitDescriptionUI
      • TraitListUI
      • TraitListUI.OrderBy
      • TraitStatsUI
      • TraitUI
    • EditorScripts
      • BattleGridEditor
      • BattlePositionEditor
      • BenchEditor
      • GameCharacterEditor
      • NetworkObjectsListEditor
      • NFO_GameCharacterEditor
      • NGO_MenuActions
      • ReadOnlyDrawer
    • Formulas
      • BattleFormulas
      • BattleFormulas.DamageType
    • Movement
      • ApproximateAstarMovement
      • ExactAstarMovement
      • IBattleMovement
      • PathFinding2D
    • Multiplayer
      • BattleBehaviour
        • NetworkObjectList
        • StatsStruct
        • GameActors
          • NGO_GameCharacter
          • NGO_GameItem
        • Player
          • GamePlayer
          • IPlayer
        • States
          • MP_ConnectionState
          • MP_FightState
          • MP_PreparationState
      • ClientTransform
        • ClientNetworkTransform
      • EditorScripts
        • NGO_MenuActions
      • GamingServices
        • GamingServices
          • GamingServices.RelayHostData
          • GamingServices.RelayJoinData
      • UI
        • NetworkManagerUI
    • Shop
      • ScriptableShopItem
      • ShopCharacter
      • ShopGameItem
      • ShopItemInfo
      • ShopLevel
      • ShopLevelManager
      • ShopManager
      • ShopGUI
        • CurrencyUI
        • EquippedItemDescriptionUI
        • ShopItemUI
        • ShopUI
        • SpecialAttackDescriptionUI
        • Timer
      • ShopList
        • IShopList
        • ScriptableDeckList
        • ScriptableGroupItemList
        • ScriptableIndividualItemList
        • ShopItemList
    • Skills
      • ApplyBuffOnHitEffect
      • ApplyDebuffOnHitEffect
      • ArrowEffect
      • BuffEffect
      • BuffEffectInfo
      • FixedDamageOverTimeEffect
      • HealthMeteoriteAllEffect
      • HealthStealEffect
      • IAttackEffect
      • MeleeEffect
      • MeteoriteEffect
      • OnHitEffect
      • Projectile
      • RangedEffect
      • SimpleBuffEffect
      • SwordEffect
      • VariableDamageOverTimeEffect
    • Stats
      • CharacterStats
      • CharacterStats.CharacterStat
      • ItemModificator
      • StatModificator
      • StatsModificator
      • StatsModificator.ModificatorType
      • Trait
      • TraitOption
      • TraitOption.TraitTarget
    • Utility
      • AutoBattleSettings
      • ReadOnlyAttribute
      • UIUtility

    Class ScriptableBattlePosition

    It contains the positions of a CharacterGroup, which will serve to spawn a random member of that group. It has a custom inspector to facilitate the positioning of the groups.

    Inheritance
    Object
    ScriptableBattlePosition
    Namespace: AutoBattleFramework.BattleBehaviour
    Assembly: cs.temp.dll.dll
    Syntax
    public class ScriptableBattlePosition : ScriptableObject

    Fields

    battlePositions

    Contains the indexes of the groups in characterGroups, so that they coincide with a grid cell.

    Declaration
    public int[] battlePositions
    Field Value
    Type Description
    Int32[]

    characterGroups

    List of character groups.

    Declaration
    public List<CharacterGroup> characterGroups
    Field Value
    Type Description
    List<CharacterGroup>

    GridCellTexture

    Texture used in the custom inspector to represent the grid cells.

    Declaration
    public Texture GridCellTexture
    Field Value
    Type Description
    Texture

    s

    Declaration
    public GUIStyle s
    Field Value
    Type Description
    GUIStyle

    selected

    Selected grid cell index.

    Declaration
    public int selected
    Field Value
    Type Description
    Int32

    Methods

    GetCharacterGroup(Int32)

    Given an index, returns the CharacterGroup from characterGroups.

    Declaration
    public CharacterGroup GetCharacterGroup(int index)
    Parameters
    Type Name Description
    Int32 index

    Index of character group

    Returns
    Type Description
    CharacterGroup

    GetCharacterGroupList(Int32)

    Given an index, returns the list of ShopCharacter from a CharacterGroup contained in characterGroups.

    Declaration
    public List<ShopCharacter> GetCharacterGroupList(int index)
    Parameters
    Type Name Description
    Int32 index

    Index of character group

    Returns
    Type Description
    List<ShopCharacter>
    In This Article
    Back to top Auto-Battle Framework documentation