• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

QuestSetDescription

Status
Not open for further replies.
Level 19
Joined
Aug 8, 2007
Messages
2,765
JASS:
                set q = CreateQuestBJ(0, "Introductions", "|cffffcc00Quest Description|r : I would like you walk around town and talk to the villagers\n\n|cffffcc00Goal|r \n" + "     - Talk to the Ship Captain\n     - Talk to the Blacksmith \n     - Talk to the Bounty Agent\n     - Talk to the Alchemist\n\n|cffffcc00Reward|r" + " : 150 Gold, 500 EXP, Quest 'Alchemy'\n\n|cffffcc00Hint|r : The Ship Captain is located in the" + " topleft of the village, the Blacksmith is located in the mid-top of the village, the Bounty Agent is located at the entrance of the forest, and the Alchemist is located in the bottomright of the village.", "ReplaceableTextures\\CommandButtons\\BTNPeasant.blp")
                call SaveQuestHandle(questHash, 0, 0, q)
4

JASS:
            call print(I2S(GetHandleId(LoadQuestHandle(questHash, 0,0))))
            if GetLocalPlayer() == GetTriggerPlayer() then
                call QuestSetDescription(LoadQuestHandle(questHash, 0,0),"|cffffcc00Quest Description|r : I would like you walk around town and talk to the villagers\n\n|cffffcc00Goal|r \n" + "     - Talk to the Ship Captain|cffffcc00 (Finished)|r"+ "\n     - Talk to the Blacksmith" + s + "\n     - Talk to the Bounty Agent" + s2 + "\n     - Talk to the Alchemist" + s3 + "\n\n|cffffcc00Reward|r" + " : 150 Gold, 500 EXP, Quest 'Alchemy'\n\n|cffffcc00Hint|r : The Ship Captain is located in the" + " topleft of the village, the Blacksmith is located in the mid-top of the village, the Bounty Agent is located at the entrance of the forest, and the Alchemist is located in the bottomright of the village.")
            endif

so like.. when this gets run the printt(loadquesthandle) prints the proper number but when I go check if the triggers description was updated it was not. Is there something with that function im overlooking?
 
Level 16
Joined
Aug 7, 2009
Messages
1,406
I'd also print the value of GetTriggerPlayer, maybe it's inappropriate. If it's right, I'd also check if those string variables have proper values, maybe they're crashing the thread. If they're also valid, then try to update it with a short dummy text, like "FU, updated", maybe the string is too long.
 
Status
Not open for further replies.
Top