• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your 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