1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-23 13:17:45 +00:00

Some extra documentation for the Parley script.

This commit is contained in:
Filip Maj 2017-08-26 17:04:36 -04:00
parent e5a9658b5a
commit 7e4fc52b9e

View file

@ -7,11 +7,11 @@ Functions:
openListWidget(player, originId, 10 bools to show/hide) - Shows a list of things to Parley for based on a sequential list from xtx_negotiationTable.
openAskWidget(player, title, difficulty, desiredItemId, requiredItemId) - Opens the widget asking if the player will Parley.
openNegotiationWidget(player, title, itemId, maxTurns, time, ability1, ability2, ability3, ability4, ability5) - Inits the widget system (call first).
inputNegotiationWidget(player, ?, abort, resumeTimer) -
inputNegotiationWidget(player, ?, abort, resumeTimer) - Begins player input.
closeNegotiationWidget(player) - Closes the Parley widget.
negotiationEmote(player, animId) - Plays an animation
updateNegotiationWidget(player, gridIndex, key, itemIconId, pointValue, ?, ?) - Updates the Parley UI.
updateNegotiationWidget(player, gridIndex, key, itemIconId, pointValue, ?, ?) - Updates the Parley UI depending on the first argument:
< 12: Places Item
13: Plays SFX + ???