edited June 2014 in ORK Support
Hello,

Currently working through a problem setting up menu screens.

The issues is:

When I go into the Menu and Select Equipment I get a error:

[ Argument out of range : Argument is out of Range. ]
***********************************************************************
ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
System.Collections.Generic.List`1[ORKFramework.EquipShortcut].get_Item (Int32 index) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections.Generic/List.cs:633)
ORKFramework.Menu.Parts.EquipmentMenuPart.SelectionChanged (Int32 index, ORKFramework.GUIBox origin)
ORKFramework.Menu.Parts.EquipmentMenuPart.ShowEquips ()
ORKFramework.Menu.Parts.EquipmentMenuPart.SelectionChanged (Int32 index, ORKFramework.GUIBox origin)
ORKFramework.Menu.Parts.EquipmentMenuPart.ShowTypes ()
ORKFramework.Menu.Parts.EquipmentMenuPart.Show ()
ORKFramework.Menu.Parts.EquipmentMenuPart.Show (ORKFramework.Menu.MenuScreen s)
ORKFramework.Menu.MenuScreen.Show ()
ORKFramework.Menu.MenuScreen.Show (IEventStarter starter)
ORKFramework.Menu.MenuScreenItem.Selected (ORKFramework.Menu.MenuScreen origin)
ORKFramework.Menu.MenuScreen.Closed ()
ORKFramework.Menu.MenuScreen.Tick ()
ORKFramework.MenuHandler.Tick ()
ORKFramework.ORKCore.FireTick ()
ORKFramework.ORKHandler.Update ()
***********************************************************************

So, I am pretty sure I followed everything, but as always what am I over looking. :(...


Thanks in Advance
Post edited by gameintern on


  • Yeah, there's currently a bug in there, enable the All Weapons/Armors option in the equipment menu part should solve it for now :)
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • So should I just skip over trying to get the Equipment to work, because it still is not selecting the equipment or removing it?


  • edited June 2014
    I made the change to AllWeapons/Armors, however I do still get this error:

    ********************************************************
    NullReferenceException: Object reference not set to an instance of an object
    UnityEngine.GUIContent..ctor (UnityEngine.GUIContent src) (at C:/BuildAgent/work/aeedb04a1292f85a/artifacts/EditorGenerated/GUIContentBindings.cs:72)
    ORKFramework.ContentLayout.GetChoiceContent (IShortcut content, ORKFramework.Combatant combatant)
    ORKFramework.Menu.Parts.EquipmentMenuPart.CreateEquipChoices ()
    ORKFramework.Menu.Parts.EquipmentMenuPart.ShowEquips ()
    ORKFramework.Menu.Parts.EquipmentMenuPart.ChoiceSelected (Int32 index, ORKFramework.GUIBox origin)
    ORKFramework.DialogueContent.OkPressed ()
    ORKFramework.DialogueContent.Tick ()
    ORKFramework.GUIBox.Tick (Single t)
    ORKFramework.GUIHandler.Tick (Single t)
    ORKFramework.GUIHandler.Tick ()
    ORKFramework.ORKCore.FireTick ()
    ORKFramework.ORKHandler.Update ()
    ********************************************************

    What is happening is, I go into Equipment Weapon the first error remains and this error is when I try and select a Weapon etc...

    Note that I Changed Display box Settings to Sequence because if I leave it on Multi when using the down arrows it Over moves in the list.

    UPDATED:

    I took a look at this thread regarding Menu Screens:
    http://forum.orkframework.com/discussion/633/bugs-on-menu-screens/p1

    I unchecked First Element along with Checking All Weapons /Armor
    It seems to be working at the moment.
    Post edited by gameintern on


  • edited June 2014
    Update:

    I took a look at this thread regarding Menu Screens:
    http://forum.orkframework.com/discussion/633/bugs-on-menu-screens/p1

    I unchecked First Element along with Checking All Weapons /Armor
    It seems to be working at the moment.

    I don/t see any errors thus far.

    So if following the Tutorial this may help Fix

    Thanks Gil :)

    Post edited by gameintern on


Sign In or Register to comment.