Osiris/API/PartySetShopPriceModifier: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
(Documented PartySetShopPriceModifier)
 
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
* call '''PartySetShopPriceModifier'''(''(CHARACTERGUID)'''''_Character''', ''(CHARACTERGUID)'''''_PartyMember''', ''(INTEGER)'''''_Modifier''')
* call '''PartySetShopPriceModifier'''(''(CHARACTERGUID)'''''_Character''', ''(CHARACTERGUID)'''''_PartyMember''', ''(INTEGER)'''''_Modifier''')
===== Description =====
===== Description =====
Whenever _global_ character '''_Character''' trades with a member of the same party as '''_PartyMember''', their item selling prioes will be modified by '''_Modifier''', which is a factor expressed as percentage (e.g., '''100''' is the default and does not change anything, while '''70''' reduces prices by 30% and '''135''' increases prices by 35%).
Whenever '''''global''''' character '''_Character''' trades with a member of the same party as '''_PartyMember''', their item selling prioes will be modified by '''_Modifier''', which is a factor expressed as percentage (e.g., '''100''' is the default and does not change anything, while '''70''' reduces prices by 30% and '''135''' increases prices by 35%).
===== Notes =====
===== Notes =====
* If '''_Character''' is not global, or '''_PartyMember''' does not exist or is not a player character, this call will not do anything.
* If '''_Character''' is not global, or '''_PartyMember''' does not exist or is not a player character, this call will not do anything.
* This call does not modify the prices '''_Character''' will pay when buying items.
===== See Also =====
===== See Also =====
* [[Osiris/API/GetGlobalPriceModifier|GetGlobalPriceModifier]]
* [[Osiris/API/GetTagPriceModifier|GetTagPriceModifier]]
* [[Osiris/API/SetGlobalPriceModifier|SetGlobalPriceModifier]]
* [[Osiris/API/PartySetIdentifyPriceModifier|PartySetIdentifyPriceModifier]]
* [[Osiris/API/PartySetIdentifyPriceModifier|PartySetIdentifyPriceModifier]]
* [[Osiris/API/PartySetRepairPriceModifier|PartySetRepairPriceModifier]]
* [[Osiris/API/PartySetRepairPriceModifier|PartySetRepairPriceModifier]]
* [[Osiris/API/SetTagPriceModifier|SetTagPriceModifier]]
* [[Osiris/API/SetTagPriceModifier|SetTagPriceModifier]]


[[Category:Osiris Calls]]
[[Category:Osiris Calls|PartySetShopPriceModifier]]

Latest revision as of 07:49, 11 March 2019

Full Definition(s)
  • call PartySetShopPriceModifier((CHARACTERGUID)_Character, (CHARACTERGUID)_PartyMember, (INTEGER)_Modifier)
Description

Whenever global character _Character trades with a member of the same party as _PartyMember, their item selling prioes will be modified by _Modifier, which is a factor expressed as percentage (e.g., 100 is the default and does not change anything, while 70 reduces prices by 30% and 135 increases prices by 35%).

Notes
  • If _Character is not global, or _PartyMember does not exist or is not a player character, this call will not do anything.
  • This call does not modify the prices _Character will pay when buying items.
See Also