Functions

Notes

Funtions under development can be seen here.

Game (Actions)

Constant - Set Experience Effect Constant to Effect.

Parameters:

  • Game Link - Effect

The system uses a "Editing Unit" effect. Create an effect-type "Editing Unit" to your map. Set this new effect as parameter to this function to allow QuestLine to give experience to heroes.

Objectives (Actions)

Create a new Category Quest named Category Name.

Parameters:

  • Text - Category Name

Use the Get Last Created Quest Category Id to retreive the last created quest category. Quest categories are useful for the Quest Log.

Create a new Quest of type Quest Type by name Quest Name categorized as Category Id Category Id started by Unit-type Start Type Unit and ended by Unit-type End Type Unit. Direct availability as Availability.

Parameters:

  • Quest Type - Quest Type (Normal/Elite/Party/Raid/Special)
  • Text - Quest Name
  • Integer - Category Id
  • Unit type - Start Type Unit
  • Unit type - End Type Unit
  • Availability - Availability (Direct/Linked)

Use the Get Last Created Quest Id to retreive the last created quest. Set Availability to Linked if you want this quest to be only available when the player ends another quest or if you want to set the availability of this quest later.

Define the Start Text as Information Text for Quest Id Quest Id.

Parameters:

  • Text - Information Text
  • Integer - Quest Id

This message will be shown when a hero discover the quest.

Define the Progress Text as Information Text for Quest Id Quest Id.

Parameters:

  • Text - Information Text
  • Integer - Quest Id

This message will be shown when a hero try to finish a quest before completing it.

Define the End Text as Information Text for Quest Id Quest Id.

Parameters:

  • Text - Information Text
  • Integer - Quest Id

This message will be shown when a hero finish a quest.

Add a new Item requirement for Quest Id Quest Id. Count needed elements of Item.

Parameters:

  • Integer - Quest Id
  • Integer - Count
  • Game Link - Item

Add a new Item requirement for a quest. Maximum of 5 kills requirement. Cannot be deleted.

Add a new Kill requirement for Quest Id Quest Id. Count needed kills of Unit.

Parameters:

  • Integer - Quest Id
  • Integer - Count
  • Game Link - Unit

Add a new Kill requirement for a quest. Maximum of 5 items requirement. Cannot be deleted.

Add a new Trigger requirement named Name for Quest Id Quest Id. Count needed triggered of Trigger.

Parameters:

  • String - Name
  • Integer - Quest Id
  • Integer - Count
  • Trigger - Trigger

Add a new Trigger requirement for a quest. Maximum of 5 triggers requirement. Cannot be deleted.

Add a new Item reward for Quest Id Quest Id. Count rewarded elements of Item. Item Choise is Mode.

Parameters:

  • Integer - Quest Id
  • Integer - Count
  • Game Type - Item
  • Item Reward Type - Mode

Add a new Item reward for a quest. Maximum of 5 items rewards. Cannot be deleted. Can be a choise item or automatic.

Add a new Quest Item for Quest Id Quest Id. Count needed elements of Item.

Parameters:

  • Integer - Quest Id
  • Integer - Count
  • Game Type - Item

Add a new Quest Item for a quest. Maximum of 5 items. Cannot be deleted. Quest items are earned by the hero at start. When the player drops the quest, these quest items are also dropped.

Set the Experience reward for Quest Id Quest Id. Amount experience points are given.

Parameters:

  • Integer - Quest Id
  • Integer - Amount

Set the Experience reward earned by a hero when the quest is finished. Experience effect constant must be defined.

Set the Gathers reward for Quest Id Quest Id. Amount crystals, Amount gaz, Amount vespene, Amount custom gather given.

Parameters:

  • Integer - Quest Id
  • Integer - Amount (crystals)
  • Integer - Amount (gaz)
  • Integer - Amount (vespene)
  • Integer - Amount (custom gather)

Set the Gathers reward earned by a hero when the quest is finished. Gathers with 0 parameter are not shown.

Check Triggered Requirement by Quest Id Quest Id for Player.

Parameters:

  • Integer - Quest Id
  • Integer - Player

Check the trigger parameter on the specified quest. If parameter quest and defined trigger quest are same, the count will be increased.

Add Link into Locked Quest Id Locked Quest Id and Completed Quest Id Completed Quest Id. Replace mode is Mode.

Parameters:

  • Integer - Locked Quest Id
  • Integer - Completed Quest Id
  • Linked Mode - Mode

Use this to unlock another quest by completing this quest. Maximum of 5 unlock quests. Set Linked Mode to 'Can be replaced' if you want to make a quest unlocked by a quest OR another quest.

Add a new Event for Quest Id Quest Id. Trigger will be start at Start is Mode.

Parameters:

  • Integer - Quest Id
  • Starting Event Mode - Mode

Add a new Event for a quest. Maximum of 5 items requirement. Set Mode to At Accept if you want the event triggers when the player accepts the quest.

Launch Quest Id Quest Id for Player.

Parameters:

  • Integer - Quest Id
  • Integer - Player

Launch the quest invite. Can be used when quests are given by special units or special events.

Set the Escort Requirement by Quest Id Quest Id for Player as UnitGroup. Linked Trigger is Trigger.

Parameters:

  • Integer - Quest Id
  • Integer - Player
  • Unit Group - UnitGroup
  • Trigger - Trigger

Setup the escort requirement for a quest. Use this action when you are on a escort trigger.

Launch the Escort verification by Quest Id Quest Id for Player. Ends when Escorted Units dies or reaches Point.

Parameters:

  • Integer - Quest Id
  • Integer - Player
  • Unit Group - Escorted Units
  • Point - Point

Must use the Set Escort requirement action before of this. Used in escort triggers.

Dialog - Show the Quest Log for Player.

Parameters:

  • Integer - Player

Forces the system to show the Quest Log for the specified player.

Objectives (Getters)

Get Last Created Quest Id

Parameters:

  • No parameters

Retreive the last created quest id. Not protected.

Get Last Created Quest Category Id

Parameters:

  • No parameters

Retreive the last created quest category id. Not protected.

Get Quest Id by Name for Name

! ! ! Deprecated ! ! !

Parameters:

  • Text - Name

Retreive the quest id from the name. Be carreful if you have a lot of quests with the same name.

Get Last Event Player Id for Quest Id with Trigger

Parameters:

  • Integer - Quest Id
  • Trigger - Trigger

Used on triggers launched by QuestLine (as events). Use this function to retreive the player Id of the last event triggered by trigger specified.

Get Name for Quest Id

Parameters:

  • Integer - Quest Id

Retreive the quest name of the specified quest id.

Get Status Name by Quest Id for Player

Parameters:

  • Integer - Quest Id
  • Integer - Player

Get the status of the specified quest. Status can be Elite, Ended, Failed, Normal, Party, Raid, Special.

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.


Comments

Posts Quoted:
Reply
Clear All Quotes