Osiris/API/CharacterHasRecipeUnlocked: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
m (call -> query, put into standard template form)
mNo edit summary
Line 1: Line 1:
===== Full Definition(s) =====
===== Full Definition(s) =====
* query '''CharacterHasRecipeUnlocked'''('''[in]'''''(CHARACTERGUID)'''''_Character''', '''[in]'''''(STRING)'''''_RecipeID''', '''[out]'''''(INTEGER)'''''_Bool''')
* query '''CharacterHasRecipeUnlocked'''('''''[in]'''(CHARACTERGUID)'''''_Character''', '''''[in]'''(STRING)'''''_RecipeID''', '''''[out]'''(INTEGER)'''''_Bool''')
===== Description =====
===== Description =====
Returns whether the party to which character '''_character''' belongs has the recipe with ID '''_recipeID''' (as listed under 'Name' in ItemCombos of the stats) unlocked.
Returns whether the party to which character '''_character''' belongs has the recipe with ID '''_recipeID''' (as listed under 'Name' in ItemCombos of the stats) unlocked.

Revision as of 06:36, 3 September 2018

Full Definition(s)
  • query CharacterHasRecipeUnlocked([in](CHARACTERGUID)_Character, [in](STRING)_RecipeID, [out](INTEGER)_Bool)
Description

Returns whether the party to which character _character belongs has the recipe with ID _recipeID (as listed under 'Name' in ItemCombos of the stats) unlocked.

Return Values
  • Success/Failure: Fails if _character does not exist, or if it's not in a party.
  • _bool: 1 if _recipe is unlocked by _character's party, 0 otherwise.
Notes
  • /
See Also