• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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

Status
Not open for further replies.
Level 5
Joined
Mar 26, 2020
Messages
66
i need help if this is possible, i am creating a faction type mode where each players with specific faction has its own unique objectives/quest
 
Level 28
Joined
Feb 18, 2014
Messages
3,579
  • 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
 
Level 3
Joined
May 18, 2008
Messages
28
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.
Top