Quest Requirements - Adding to number slayed

kungfuturte0

New Member
Reaction score
2
Basically have a quest where you have to banish 4 dreadlords to the Twisted Nether. So there's a quest called Banish Dreadlords, with description. Then there's a requirement - (0/4 Dreadlords Banished). When you banish one I want it so obviously changed to 1/4, 2/4 etc. I can do it for the 1st one banished but I'm unsure how to add 1 to the number. I'm sure it's something to do with an integer variable but i'm not quite sure how? Also there's a quest update message telling the player a Dreadlord has been banished! (1/4 dreadlords Banished), so i'll need the same for the requirement in the quest update.

Thanks in advance
 

Dimaspy

New Member
Reaction score
19
Is it a variable you're using? (Well, yeah.. You should be.)
Try to use: Set Variable = (Variable + 1)

Then just do the quest updates for every time you kill a dreadlord.
 

Hellohihi

New Member
Reaction score
42
Trigger:
  • Events
    • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Dying unit)) Equal to Dreadlord
    • Actions
      • Set Integer_Dreadlords = (Integer_Dreadlords + 1)
      • Game - Display to (All players) for 20.00 seconds the text: (a Dreadlord has been banished! + ((String(Integer_Dreadlords)) + /4 Drealords Banished!))
 

kungfuturte0

New Member
Reaction score
2
Is it a variable you're using? (Well, yeah.. You should be.)
Try to use: Set Variable = (Variable + 1)

Then just do the quest updates for every time you kill a dreadlord.

I'm using Create Quest Requirement - Banish the Dreadlords (0/4 Banished)

Then when one is banished - Changed Quest Requirement - Banish the Dreadlords (0/4 Banished) So I need to add 1 each time one is banished but not sure how? Thanks
 

kungfuturte0

New Member
Reaction score
2
Trigger:
  • Events
    • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Dying unit)) Equal to Dreadlord
    • Actions
      • Set Integer_Dreadlords = (Integer_Dreadlords + 1)
      • Game - Display to (All players) for 20.00 seconds the text: (a Dreadlord has been banished! + ((String(Integer_Dreadlords)) + /4 Drealords Banished!))

Thanks a lot :D Rep+ just what I needed
 

Hellohihi

New Member
Reaction score
42
Do this
Trigger:
  • Game - Display to (All players) for 20.00 seconds the text: (a Dreadlord has been banished! + ((String(Integer_Dreadlords)) + /4 Drealords Banished!))


But use it in Actions - Change Quest Description.

Edit: Your welcome.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top