• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[General] Is it possible to create quest per player?

Status
Not open for further replies.
  • Create Quest
    • Events
    • Conditions
    • Actions
      • Quest - Create a Required quest titled Main Quest with the description TEST, using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
      • Set MainQuest = (Last created quest)
      • Quest - Create a quest requirement for MainQuest with the description TEST 1
      • Set MainQuestReq1 = (Last created quest requirement)
      • Quest - Create a quest requirement for MainQuest with the description TEST 2
      • Set MainQuestReq2 = (Last created quest requirement)
      • Quest - Disable MainQuest
      • -------- Show quest for one player --------
      • Custom script: if GetLocalPlayer() == Player(0) then // Player(0) means Player 1 (Red)
      • Quest - Enable MainQuest
      • Custom script: endif
 
Yes as mentioned above

JASS:
if GetLocalPlayer() == Player(number) then
your quest
endif

will work to create individual quest for each player

however this actually causes observers/referees to crash when i tested it, something worth taking note if your map ever see those.
 
Status
Not open for further replies.
Back
Top