In that case, you can directly set the quantity field of item[0]. In any case, this will only be kept in the running game, as soon as the game is quit this is gone ...
index is the ID/index of the quest, rewardIndex the index of the reward in the quest's reward list. Random.Range using integers is excluding the maximum value, i.e. to have 800 as max, you need to use 801.
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!
How to Set Navigation Marker for quest task with task's name.
I want to set a quest name in Navigation Marker Of the quest task that is Active as for me if it is possible,
[Menus] -[HUDs] - [Navigation Elements] -> Type= Navigation Marker,-> [Content Information] -> [n=name,%d=description,%i=icon]. and set All quest’s Task in [Game]-[Quest Tasks]-[Navigation Markers]-> Marker Type However, these %n,%d,%i do not work from quest task’s set marker. (it becomes the empty text)
%n= not quest task's name? Is there the idea to set dynamic name of quest or an quest’s icon in Navigation Marker?
No, navigation markers don't support text codes - they work like variable keys, identifying a marker. There is no dynamic marker (and wouldn't be of much use).
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!
E.g.:
ORK.Quests.Get(int index).reward.item[int rewardIndex].quantity = Random.Range(400, 801);
index is the ID/index of the quest, rewardIndex the index of the reward in the quest's reward list.
Random.Range using integers is excluding the maximum value, i.e. to have 800 as max, you need to use 801.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
one more question..
How to Set Navigation Marker for quest task with task's name.
I want to set a quest name in Navigation Marker Of the quest task that is Active as for me if it is possible,
[Menus] -[HUDs] - [Navigation Elements] -> Type= Navigation Marker,-> [Content Information] -> [n=name,%d=description,%i=icon].
and
set All quest’s Task in [Game]-[Quest Tasks]-[Navigation Markers]-> Marker Type
However, these %n,%d,%i do not work from quest task’s set marker.
(it becomes the empty text)
%n= not quest task's name?
Is there the idea to set dynamic name of quest or an quest’s icon in Navigation Marker?
■iOS
https://itunes.apple.com/us/app/id679133055
■Android
https://play.google.com/store/apps/details?id=com.WabiPlant.SAMURAI100SlashLite
New ORK Battle Game
■iOS
https://itunes.apple.com/jp/app/id1403510381
■Android
https://play.google.com/store/apps/details?id=com.Company.AgentFight
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!