QuestLine Library v1.1
Details
-
FilenameQuestLine_v1.1b.SC2Lib
-
Uploaded by
-
UploadedSep 20, 2010
-
Size2.70 MB
-
Downloads354
-
MD50614566f58982cade62c049507af4fc5
Changelog
Funtions changes
Game - Constant - Set Experience Effect.
The specified parameter value is more accurate than in version 1.0.
Dialog - Show/Hide the Quest Log for Player.
Add a preset parameter to Show/Hide the Quest Log.
Objective - Set Start Text/Progress Text/End Text for Quest Id.
Add a preset parameter to Start Text/Progress Text/ End Text to reduce the number of functions.
New constants
- Quests Maxima
- Tags Maxima
- Text Tag Info (3)
- Gathers name (4)
To increase the size of all variables used for your map, you must do 2 things:
- Edit the size of the array of variables used by the library.
- Edit the constant value.
These 2 things must be done.
DO NOT UNCHECK THE ARRAY BOX ! By clicking this array box, GUI makes any changes to the library to be unusable.
New functions
Objectives - Constant - Set the Quest Availability/Quest Not ended/ Quest Ended Info Tag to Text.
Parameters:
- Defined Text Tag - Text Tag Type
- Text - Text
Set the specified Quest info tag. By default, the system represents exactly the same as World of Warcraft.
Objectives - Launch the talk with Unit for Hero Unit.
Parameters:
- Unit - Unit
- Unit - Hero Unit
Launch the talk between a PNJ (Unit) and a hero for a player.
Objectives - Set Availability of Quest Id for Player as Availability.
Parameters:
- Integer - Quest Id
- Integer - Player
- Boolean - Availability
Set the availabiilty of the specified quest id. Be carreful, it will not make changes on the Quest Links system.
Objectives - Set Gathers Reward to Quest Id. Crystals Amount, Gas Amount, Terrazine Amount, Custom gather Amount.
Parameters:
- Integer - Amount of Crystals
- Integer - Amount of Gas
- Integer - Amount of Terrazine
- Integer - Amount of Custom gather
- Integer - Quest Id
Set the gathers amount of each type for the specified quest id.
Objectives - Get Quest Count by Unit for Player.
Parameters:
- Game Link - Unit-type
- Integer - Player
Get the number of quests available for the specified player.
Deprecated functions
These functions are already usable, but they'll be removed for the next version (1.2):
Objectives - Define Progress Text for Quest Id. Objectives - Define End Text for Quest Id.
Others notes
About the "Click on a Quest PNJ" Trigger
This trigger is disabled, but it's still available if you want to use the same communication system than version 1.0. If you don't want to use the same system, ignores this trigger and use your custom trigger to detect when your hero talk with others units.
To do that, use this function:
Unit - Talk with Unit from Unit.
* Small bug in the Quest Information Dialog (Quest Log).