808 B
808 B
Function: SendPopUpMessage(spawn, message, red, green, blue)
Description: Sends a popup message to the Spawn(Player) with the message in the popup.
Parameters:
spawn(Spawn) - Spawn object representingspawn.message(string) - Stringmessage.red(int32) - Integer valuered.green(int32) - Integer valuegreen.blue(int32) - Integer valueblue.
Returns: None.
Example:
-- From ItemScripts/BardCertificationPapers.lua
function QuestStart(Item,Player)
OfferQuest(nil,Player,Quest)
conversation = CreateConversation()
AddConversationOption(conversation, "[Put the signed certificate away]","TaskDone")
StartDialogConversation(conversation, 2, Item, Player, "The Shady Swashbuckler might have some gear I can use...")
end