bool success_1 = ORK.Game.ActiveGroup.Leader.Inventory.CanCollect(test);
bool success_2 = ORK.Game.ActiveGroup.Leader.Inventory.Add(test, false, false, true);
both success_1 and success_2 are TRUE.
Looks like only happen in this project, I can't rep…
Hi GiL,
Thanks for the reply but I can't get it work :(
Let's say I have ONE recipe which has two outcomes:
Outcome 0:
Quantity is set to Random 1~7.
Chance is set to 10.
Outcome 1:
Quantity is set to Random 3~9.
Chance is set to 50.…
The TextHelper.ReplaceSpecials do nothing to my strings, the text codes such as #text.color are still in the string.
Here is what I do:
string des = selectedItem.GetDescription();
TextHelper.ReplaceSpecials(ref des);
inventoryDescriptionText.text = …
Great!! It works, easy and quick.
It will be perfect if the inventory exchange has sub menu which we can show the details of the item and do the transfer and drop the items to the world :)
Hi,
I'm sorry to comment this old thread, but this is really a big problem now.
My game has been published on App Store and Google Play Store for about a month, it turns out OK and I do earn some money on it.
But due to this memory issue I got many …
By adding:
bc.StartEvent(ORK.Game.GetPlayer());
right after StartGroup I can start the battle now, the enemy group size is right, but the combatants in enemy group are all the same combatant(the first combatant).
Edit:
It works now. The problem cau…
Hi GiL,
Thanks for your reply.
I checked the ORK Handle script in Inspector while running and I'm sure the player control isn't blocked, but I still cannot start the battle by calling StartGroup.
If I use a Start Battle node, how can I set the enem…
@Machal Hi Machal, I'm having the same problem. See the post here http://forum.orkframework.com/discussion/5053/suggestion-need-a-button-in-description-menu-part#latest
But 'Reset Unity Input' is not work for me :(.
Speaking of the sub menu, I run into two problems:
1) When the Close Out Of Box Click in the Sub Menu Settings is enabled, If I tap the choice item to open the sub menu (the choice item is not covered when the sub menu pop up), the sub menu will dis…
Thanks GiL, and how to save in CURRENT slot? How to get current loaded slot index in script(not current autosave slot)?
I know it's weird to auto save game in NON-autosave slot, but I have to save the change of the virtual currency after user purcha…
emm, after testing, the Mouse Over Selection causes another problem in mobile game: Even I set Select First in shop layout GUI Boxes choice settings, but the quantity selection menu will pop up with only ONE tap on the choice item.
In case you need the test project, I uploaded it to the Dropbox, here is the download link:
https://www.dropbox.com/s/ihqcngb7kvji2i4/TestMemoryUsage.zip?dl=0
Here is my new test:
I created a new clean project, didn't import ORK at the first, but import some textures. Set one of the images as scene background. Everything works fine, the profiler shows only one image was loaded.
Then I import ORK into th…
Problem solved :)
I put the game object with the Battle component as the Combatant game object's child. If I move the GO with Battle component out of the Combatant game object, everything works fine.
Hm, my battle is in different scene, maybe this cause the problem?
I follow the tutorial here http://orkframework.com/tutorial/gameplay/battle-in-a-different-scene/
Edit:After my test, if I start the battle in the same scene, the actual positions h…