Overview
A simple, light-weight system to create a pretty text for an RPG that softly fades in as it is being written, similar to the quest texts in World of Warcraft when Instant Quest Text is disabled. Can also be used for dialog or exposition text, of course.
You can define text windows attached to any parent frame, so if you have a quest or dialog menu, you can use WoW-Like Quest Text to write text into their text fields.
Can make JASS version on request.
Installation
Copy the QuestText script and its requirements into your map. These are:
Make sure TotalInitialization is above the other scripts in your map script.
Getting Started
Create a text window with
QuestText.CreateWindow
as laid out in the API section. If you don't know what to use a the parent frame, use
BlzGetOriginFrame(ORIGIN_FRAME_WORLD_FRAME, 0)
. Save the window to a variable. Then do
QuestText.New
to write a text into that window.